OpenAI was originally formed as a nonprofit entity to ensure it was free to achieve its stated goal and then became a for-profit company back in 2019.
Source: https://cointelegraph.com/app/public/index.php/news/elon-musk-criticizes-openai-for-profit-after-investment