Pope warns of potential dangers from AI