Yeah, as stupid as we are, we still do a far better job at making tough decisions than machines do. We can make that "in-the-moment" moral judgement not to take a shot. A machine won't do that.
It goes both ways of course. We nuvpu' direct fire on friendly forces or non-combatants (innocent bystanders) wayyyy too often. But machines aren't sharp enough to make those distinctions. AI just is way too light on the "I" to let it loose on its own.
It's great at automating routine "tasks", and following instructions like follow these gps coordinates, stay this height over the terrain, and go boom here at this altitude. They can even take pre-programmed inputs into consideration. Up to a point.
Even self driving vehicles are just fancy binary decision engines. They can't make a call to hit a cyclist on the right rather than hit the family that stepped out into the street pushing baby carriage's. They can also be put into blind paths where they just stop and wait for a person to get them out of it.
I know machines. Machines are my friend. You sir, are no machine.