Harvey AI, an artificial intelligence startup backed by an OpenAI-managed investment fund, has partnered with one of the world's largest law firms to automate some legal document drafting and research in what the company says could be the first of more such deals.