Starbucks is replacing its CEO with Chipotle chief Brian Niccol in an effort to turn around declining sales.