Apple knocked Nvidia out of first place in the ranking of the most valuable companies. Apple's market value reached $5.03 trillion. For Nvidia, that figure at the end of trading was $4.93 trillion. Nvidia previously held the lead for the past three months, Bloomberg reported.