NVDA stock is up 3.5% so far today, which is ~$150B, or slightly more than one Intel. $5B is pocket change in comparison.
Not all deals are made in cash, they can borrow money against their market share.
But yeah, it's probably easier to just use cash on hand.