Shares of Nvidia ended up 0.75% at $164.10, giving it a market value of $4.004 trillion as it benefits from an ongoing surge in demand for artificial-intelligence technologies.
Nvidia's stock market value briefly peaked above $4 trillion on Wednesday before closing at about $3.97 trillion.

