If they can make software good enough for cars to drive themselves then they can make killer robots.
I have been expecting them. How about a mini-tank the size of a lawn tractor with a machine gun instead of a cannon. Program it to kill anything the size and shape of a human within certain GPS coordinates. It would make more sense than a mine field to a certain extent. It could be removed and not kill and mame children years after the war is over.
The trouble with technology is that it makes certain things possible. People still have to decide whether or not to do it.
Man's technological advancements have surpassed his intellectual advancement.