A group of investors led by Elon Musk says it is offering $97.4 billion to buy OpenAI, escalating a legal dispute with the artificial intelligence company that Musk helped found.