Science fiction has long anticipated the rise of machine intelligence, and today a new generation of self-learning computers has begun to reshape every aspect of our lives. Will A.I. usher…