Naive question: Isn't the easiest way to prevent an general purpose AI from taking over the world to not make a general purpose AI?
Best case, that AI can prevent the creation of harmful AI, though that's glossing over a lot of details that I'm not qualified to describe.
The reason people don't accuse every random child of possibly ending the world is because things that actually exist are just less exciting.