John Ternus, Apple's senior vice president of Hardware Engineering, will become CEO on Sept. 1 as Tim Cook transitions to executive chairman after 15 years leading the company.