And that's the end of democracy. One of the safe guards of democracy is a military that is trained to not turn against the citizens. Once a government has fully autonomous weapons its game over. They can point those weapons at the populous at the flip of the switch.
[dead]
The original Terminator movie doesn’t seem so far fetched now (minus the time travel).