CNN has filed a lawsuit against AI search company Perplexity, accusing the startup of unlawfully using and distributing copyrighted content.