iPhone is largely what created the sustained, predictable volumes for high-end chips that has allowed TSMC flourish, and TSMC is what has allowed AMD's strategy to take flight.
If AMD was stuck with GlobalFoundry, they would be nowhere.
Correlation. Not causation.
Apple shied away form Intel due to their failure at landing mobile chips.
Intel failed at mobile due to their (then) sales-focused (rather than engineer-focused) regimen.
Source: I worked at intel on the Mac chips for a year and a half
In five years or so (ok maybe 7 or 8) Intel turned a two year lead in fab technology to being behind by two years, so there's that too.
Utter inability to break into the mobile market, ARM or otherwise.
Failed attempts at discrete graphics and not having something ready for the rise of crypto/AI.
XPoint was basically a failuer, SSD dominance taken from them.
It shows both an empty cupboard of in house talent and technology and a zombie management structure.