John Ternus takes the helm of a $4 trillion tech giant, but it comes with challenges as Apple faces down the RAM shortage, AI launch delays and the foldable phone market.