Apple’s interest in Perplexity AI could crush Samsung’s plan to integrate it—once again, Cupertino strikes before its rivals can catch up.