If I give you 10 dollars, and then you put it in your pocket, and then you take it out again and give me 10 dollars back - no actual economic growth occurred. It's simply shuffling money around; the amount stays the same.
They walk a bit more and the first one says, "You know, I gave you $100 to eat shit, and you gave me the same $100 to eat shit. I can't help but think we both just ate shit for nothing." The second one responds, "That's not true at all! We increased the GDP by $200!"
Even within one country, this should be 99% of what happens, onless it's an oil producer or something like that.
Nvidia is investing - it is using its shareholder's cash under the assumption it will create value for them.