Neither of these are the problem imho. The problem is that you can scale these systems ad infinitum whereas training people to kill takes time and skills and most won't follow insane orders.
These things will 100% be used with good intentions that will trigger dramatic consequences. Once you have AI judges, AI decision makers, AI autonomous drones where do you draw the line? You can just release drones 24/7 worldwide to kill everyone deemed a criminal or a danger, whatever "danger" means to the current people in charge.
> and most won't follow insane orders
History shows otherwise, unfortunately. Genocide, let alone other war crimes and crimes against humanity, didn't start or end with WW2.