John Ternus is a hardware expert who must help Apple catch up in the AI race as it looks for its next big hit.