The grocery stores argue they need to combine forces to fight off competition from massive retailers like Walmart, Costco and Amazon.