Nvidia has overtaken tech giant Apple as the world's second most valuable company, hitting a $3 trillion market cap milestone for the first time after seeing its shares rise by 5.2% on Wednesday. The surge in the AI chipmaker's market…