OpenAI Inc. and Microsoft failed to escape a trial over Elon Musk’s claims that Sam Altman’s startup betrayed its founding mission as a public charity when it took billions in funding from the ...