Perplexity, a startup building AI-powered search tools, has been sued in federal court for allegedly violating another company's trademark.