Apple Inc. on Friday surpassed NVIDIA to reclaim its title as the world's most valuable company by market capitalization. Investors sought the perceived safety offered by the iPhone maker amid concerns about artificial intelligence spending.