US President Donald Trump is facing backlash for publishing an AI-generated image of himself as the pope.