A Silicon Valley pioneer discovers that one of his own creations – a powerful A.I. – might spell global catastrophe, and teams up with a cybercrime agent to fight a…