Huh?
There are no admitted technologies to create powerful EMPs except nuclear weapons.
To do this, you would, as you say, have to explode nuclear arms in the upper atmosphere, but you are proposing that we could do so to create EMPs over most of the earth?
Are you suggesting destroying the human race to save it?
RE: How To Stop A Rogue AI