Pope Leo XIV warns AI could threaten workers as industrial revolution did in the 1800s.