To facilitate rapid deliveries, the ecommerce giant is developing infrastructure that includes dark stores, refined stock-keeping units (SKUs), and expanded logistics capabilities.