A 7-year-old rivalry between tech leaders Elon Musk and Sam Altman over who should run OpenAI and prevent an artificial intelligence “dictatorship” is now heading to a federal judge as Musk seeks to halt the ChatGPT maker’s ongoing shift into a for-profit company. Musk, an early OpenAI investor and board member, sued the artificial intelligence company earlier this year alleging it had betrayed its founding aims as a nonprofit research lab benefiting the public good rather than pursuing profits. Musk has since escalated the dispute, adding new claims and asking for a court order that would stop OpenAI’s plans to convert itself into a for-profit business more fully. The world’s richest man, whose companies include Tesla, SpaceX and social media platform X, last year started his own rival AI company, xAI.