Apple overtook Nvidia on Friday to become the world's most valuable company for the first time since April 2025, closing at roughly $4.88 trillion.