Tim Cook will become the executive chairman of Apple’s board of directors. John Ternus will assume the role of CEO on September 1.