The new pope’s first major encyclical warned of AI’s dangers to human dignity drawing comparisons to Pope Francis’s landmark climate change letter.