This is more like reinvesting into the business as it's growing. It's a positive sum loop.
Nvidia makes money by selling to OpenAI. OpenAI makes money by selling a service to users that uses Nvidia. So Nvidia invests in the build out and expansion of the infrastructure that will use Nvidia.
This is a classic positive sum loop.
It's not that different than a company reinvesting revenue in growing the company.