Pope Leo XIV told cardinals at the Vatican last month that artificial intelligence “pose[s] challenges to human dignity, justice and labor.”