Yes. Microsoft had to sign an operating agreement when they invested that said the company has no responsibility or obligation to turn a profit. LLCs are able to structure themselves in such a way that their primary duty is not towards their shareholders.
https://openai.com/our-structure - check out the pinkish-purpleish box. Every investor and employee in the for-profit has to agree to this as a condition of their investment/employment.