A merger with TikTok may give Perplexity access to a vast user base and a wealth of data that would feed its AI-driven search engine