You have a valid point, but the article states that they place darks stores in residential areas to decrease the delivery time.
There is a need for these services, but we also need to think about all those who are negatively impacted by this.
By placing the warehouse outside the residential area, they may increase the delivery time by 15-20 minutes. Isn't that a good enough compromise for the customers? Saving 20 minutes on grocery delivery is not worth the human cost.