If you look closer you will see that a lot of the stock price gains (not just AAPL, but most of the stock market) have been a combination of PE expansion and stock buybacks.
https://ycharts.com/companies/AAPL
https://ycharts.com/companies/AAPL/pe_ratio
https://www.nytimes.com/2018/08/01/business/dealbook/apple-stock-buybacks.html
Unfortunately, all that financial engineering (again for all companies, not just AAPL) has an expiration date approaching with the tightening of monetary conditions.
Have you tried looking at the other FAANG stocks?
[doublepost=1543049338][/doublepost]
It would be good if it worked that way, but the only time companies sacrifice their margin is to gain market share and in some cases to put competitors out of business so that they can then increase prices. If they lower their margins it's akin to cutting the branch they are sitting on. Typically it's a temporary thing, although temporary can be a multiyear strategy, kind of like Amazon selling stuff cheap to put brick and mortar out of business.
There are repercussions everywhere with respect to how much they can invest in R&D, how much stock they will buy back, etc. The bulk of R&D for low margin businesses is done by 3rd parties. Apple could go that route if they build their iPhones around Snapdragon processors and build an iOS-like UI on top of Android. Is that the type of iPhone we're looking for?