Cristiano Ronaldo has invested in Perplexity AI and joined the company as its global ambassador.