From Nvidias point of view, this might be an investment in their own business via network effects rather than a straight up investment in Hugging Face. I hope so, because when the VC money goes, the billing will go through the roof.
That kind of thing is par for the course when invested in by hardware companies, but it can work out very well for everyone.