Perplexity on Friday expressed its interest in buying TikTok, which faces a deadline to divest from its Chinese owner.