Apple CEO Tim Cook at the opening of Shanghai's new Apple retail store in Shanghai on March 21, 2024.AFP/Getty ImagesApple has reclaimed the top spot as the world's largest company with a $3.31 trillion valuation.The AI boom has driven Apple, Microsoft, and Nvidia stocks to record highs.Wedbush analyst Dan Ives predicts the three tech giants to race to a $4 trillion valuation over the next year.Apple reclaimed the top spot as the world's largest company by market cap on Wednesday.