Amazon is racing Indian startups to deliver groceries to customers in minutes. The secret sauce is micro-warehouses.