Also, there were other androids that costed more than the iPhone X.
And no, Apple is not a trillion dollar company, Wall Street valuates Microsoft higher.
You're technically correct, poor Apple is just an $815B company right now with MSFT at 851. Want to make any bets they won't exceed last October's $1T in the near future? Or do you have a point? https://ycharts.com/companies/AAPL/market_cap
Apple's hardware margins are less than that of Microsoft or Google.
If you are so certain of Apple's stock, you can put your money on AAPL stock.
And if Apple is worth $1T, it's still undervaluation, because one can easily look at their revenue and see they are massively underpriced and that's because Wall Street can't stop making FUD against them, among their competitors paying for negative infomercials about them.