For a decade, Musk had been worried about the danger that artificial intelligence could someday run amok—develop a mind of its own, so to speak—and threaten humanity. When Google cofounder Larry Page dismissed his concerns, calling him a “specist” for favoring the human species over other forms of intelligence, it destroyed their friendship.

