this has always fascinated me. the three laws work well enough in theory, but that's for pacifist robots.
now we're talking about warring machines, that intend to kill. what makes a civillian? no weapon? dress code? if they're intelligent enough, won't they realise they're pretty much sent in to be slaughtered, and operate their own uprising? and if they're not intelligent enough, what happens when a soldier drops their gun. does the robot accept that they are now defenseless and cannot be shot at?
all I know is that with the precision these things are going to have, any weapon once properly tested is going to turn into a sniper rifle. we'll be running around happy we got that guy in the chest. they'll have a line of critical shots.