AI is not a child. It is a machine. If you connect it to something that can be used to kill people, you just created a gun or an equivalent of a bomb.
Yes, people kill people and use ai as tool.
If you unleash a drone that will fly to a random place and detonate, you just commited a terrorist attack or gross criminal negligence. It is the same thing.
A machine that exhibits behavior akin to human intelligence. OPs analogy is accurate.