Pope Francis became the first pope to go to a G7 summit of world leaders. At a summit on artificial intelligence, he warned of dangers of AI.