A U.S. judge has allowed Elon Musk’s lawsuit accusing OpenAI of abandoning its nonprofit mission in favor of profit-driven restructuring to proceed to a jury trial, setting up a high-stakes legal battle involving OpenAI and its key partner Microsoft.