Apple dethrones Nvidia as world's most valuable company