Apple's $1 trillion valuation was primarily propelled by the immense success of the iPhone, which accounted for approximately 70% of its sales, alongside growth in its services division. Amazon's ascent was largely driven by its dominant e-commerce platform and the explosive profitability of Amazon Web Services (AWS), which contributed 55% of its operating income in Q2 2018.