Stocks rose after a short two-day dip.

Shares in the chip-maker have surged in value as investment in AI continues to gather pace.

Nvidia bypassed Apple and Microsoft, the only other US firms with a market value of more than $3 trillion.

The chip giant briefly passed $4 trillion in market value, leading the wave of artificial intelligence stocks.

Stocks rose after a short two-day dip.

Investors still only see upside for Nvidia as the poster child for the AI boom.

Nvidia has been grappling with export controls on its AI chips implemented by the Trump administration in April for national security reasons.