Pope Leo warns about artificial intelligence and its impact on humanity in the first encyclical letter of his papacy.