Fears of artificial intelligence (AI) gone wrong prompted more than a thousand scholars and public figures - including theoretical physicist Stephen Hawking, SpaceX founder Elon Musk and Apple co-founder Steve Wozniak - to sign an open letter, cautioning that the autonomous weapons race is “a bad idea” and presents a major threat to humanity.