The move will be Apple’s first CEO change since Cook replaced co-founder Steve Jobs in 2011, shortly before Jobs died.