When I order food online it gets picked like an amazon order in a large warehouse fulfilment center. An online-only groceries store doesn't need parking, signs, price tags, nicely stocked shelves and a lot of other things that drive up cost. They just need a huge selection and they can sit in an industrial area.
Obviously no one will just magically create these warehouses but his is a business that has existed at scale for a decade or more, the pandemic didn't exactly come as a surprise.