Apple has reclaimed the title of the world’s most valuable company, overtaking Nvidia after the AI chip giant’s lengthy run at the top of Wall Street.