This consensus doesn't exist. Computers have been designating targets and commanding attacks since at least the 60s. The Phalanx CIWS for example is designed to be run in fully automatic mode, choosing which radar contacts to engage and when to open fire on them. There's even already been friendly fire incidents from the system.
Modern anti-ship missiles, torpedos, and BVR missiles also are designed with the ability to "go to this point in space and then find yourself a target and kill it"
We automated target selection and tasking in warships shortly after the second world war, to combat the fact that we expected the soviets to send 200 missiles at a task force at once, and didn't think humans could manage that kind of task load.
If you turn the right keys in an Arleigh Burke, every single human can leave the command part of the ship and it will still shoot planes out of the sky, all automated.