John Ternus is just the third Apple CEO in 30 years. His primary challenge is to correct the company's faltering AI strategy.