After a decade of experimentation and expansion, the company says it wasn't able to find the right model for its Amazon-branded grocery and convenience stores.