OpenAI's president testified on Tuesday that Elon Musk supported transforming the artificial intelligence startup into a for-profit company, but wanted full control in part to help him raise $80 billion to colonize Mars.

The testimony by Greg Brockman came in the second week of a trial in California that could determine the future of OpenAI, which sparked a widespread ?craze over generative artificial intelligence after launching its ChatGPT chatbot in late 2022.

OpenAI plans to spend $50 billion on computing resources ?in 2026, Brockman ?said in court.