As the retailers tap their vast fulfillment capabilities to build out 30-minute delivery services, they’re threatening advantages supermarkets enjoy by being close to their customers.