Apple has a long history with the market-cap crown. In August 2018, the iPhone maker became the first publicly traded U.S.