Starbucks said Thursday it's closing hundreds of stores in the U.S., Canada and Europe and laying off 900 nonretail employees so it can focus resources on its turnaround plan.