First, the “OpenAI" whose profits are being discussed isn't a 501(c)3 charity, but a for-profit LLC (OpenAI Global, LLC) with three other organizations between it and the charity.
Second, charities and other nonprofits can make profits (surplus revenue), they just can't return revenues (but they can have for profit subsidiaries that return profit to them and other investors in certain circumstances.)
> The whole umbrella for-profit corp they formed when they became popular should be illegal
The umbrella organization is a charity. The for profit organizations (both OpenAI Global LLC that Microsoft invests in, and its immediate holding company parent which has some other investors besides the charity) are subordinate to the charity and its goals.
> and is clearly immoral.
Not sure what moral principal and analysis you are applying to reach this conclusion.
I'm not the parent, but I think it's clear: if I'm a charity, and I have a subordinate that is for profit, then I'm not a charity. I'm working for profit, and disguising myself for the benefits of being a charity.
Obviously, the for profit subsidiary ooerates for profit—and where its not a wholly owned subsidiary, it may return some profit to investors that aren't the charity—but neither the subsidiary nor the outside investors getbthe benefits of charity status.
The girl guides are a non-profit; they teach kids about outdoor stuff, community, whatever, they do good works, visit old folks, etc.
If for some legal reasons they had a subsidiary that sold cookies (and made a profit), with all the profits returned to the non-profit parent, I think that'd be ....fine? Right?