AI could spell the end of humanity ... if the world’s nuclear powers don't destroy it first