Apple CEO Tim Cook is stepping down on September 1. He will be replaced by hardware engineering lead John Ternus.