I get what you're saying, but I don't think "someone else using a claude code against me" is the same argument as "claude code wakes up and decides I'm better off dead".
Or it's militarized to defeat other powerful AI-enhanced militaries, and we have WW3.
More likely though AGI would cause economic crash from automating too many jobs too quickly.