The grocer is losing out to Walmart, Costco and Kroger.