Nvidia is losing ground to Apple in the competition to be the world's largest company by market value.