Pope Leo warned of damange caused when chatbots "exploit our need for human relationships" ahead of his AI encyclical.