Elon Musk took the witness stand in a San Francisco courtroom this week in his ongoing legal battle against OpenAI and its CEO Sam Altman, marking a dramatic moment in a dispute that cuts to the heart of how one of the world's most influential artificial intelligence companies was built and where it is headed. Musk, who co-founded OpenAI in 2015 as a nonprofit dedicated to developing AI for the benefit of humanity, alleges that Altman and others have steered the organization away from that founding mission in favor of commercial profit.

The trial focuses on whether OpenAI's planned restructuring — which would convert key parts of the organization into a for-profit public benefit corporation — constitutes a breach of the commitments made to early backers, including Musk himself. Musk's legal team argues that donors and co-founders contributed resources under the explicit understanding that OpenAI would remain a nonprofit operating in the public interest, not a vehicle for private enrichment.

Altman and OpenAI have countered that the for-profit transition is necessary to raise the enormous capital required to remain competitive in the global AI race, and that the company's nonprofit roots are preserved through the restructuring. OpenAI has also pushed back on Musk's motives, noting that he launched his own rival AI company, xAI, and suggesting the lawsuit is aimed at undermining a competitor rather than protecting charitable principles.

Musk's testimony covered his early involvement in OpenAI, the circumstances of his departure from the board, and his understanding of the organization's founding commitments. The proceedings have drawn wide attention across the technology and business communities, given the enormous financial stakes — OpenAI was most recently valued at roughly $300 billion — and the broader implications for how AI nonprofits navigate commercial pressures.

The outcome of the trial could have significant consequences not only for OpenAI's restructuring plans but also for the broader question of how nonprofit organizations in the technology sector can or cannot transition to for-profit models. Legal experts watching the case say courts will have to weigh the enforceability of informal founding commitments against the practical realities of operating at the frontier of artificial intelligence development.