Perplexity AI is in talks with Motorola and Samsung to integrate its AI assistant into their smartphones, potentially challenging Google's Gemini.