The former NSA whistleblower shared his hopes that AI’s intelligence could exceed that of humans and ultimately benefit humanity, despite fears the technology could be co-opted by bad actors.