Amazon has sued Perplexity after accusing the company of violating its terms of service with the agentic shopping capabilities of its Comet AI browser.