Nvidia again topped Apple to become Wall Street’s most valuable company. How it got there—by the numbers