And it has been expecting that for a long time. 5 years ago Apple's PE was below 12. Since then the stock price has tripled.
Now their PE is 18, so the market is expecting Apple to grow a lot faster in the next 5 years than it did in the last 5 years.
https://ycharts.com/companies/AAPL/pe_ratio
We'll see if the market gets it right this time or at least not as horribly wrong as in the past.