Dark stores serve as small warehouses or distribution centers, using automated material-handling equipment and a small staff to process high volumes of orders. But are they here to stay? That’s a question grocery chains and other online retailers will grapple with over the next few years as they continue to adapt to changing consumer preferences.