To those who are dead, that's a distinction without a difference. So far as I'm aware, none of the "killer robots gone wrong" actual sci-fi starts with someone
deliberately aiming to wipe themselves out, it's always a misspecification or an unintended consequence.
The fact that we don't know how to determine if there's a misspecification or an unintended consequence is the alignment problem.