Nvidia hit a market value of $3.92 trillion on Thursday, briefly putting it on track to become the most valuable company in history, as Wall Street doubled down on optimism about AI.