Ternus, Apple's senior vice president of hardware engineering, will replace Cook later this year.