The e-commerce and cloud company has slowed grocery expansion plans and closed half of its convenience stores in recent years ...