Walmart has ~4500 (US) stores already. Aldi is expanding rapidly but has far fewer than that.
The two Aldi locations I drive past are both located less than a mile from the nearest Walmart locations (I expect they do a fair amount of piggybacking).
The purchase doesn't make a huge amount of sense to me. I guess the most sensible thing is that they see the stores being located by the best populations to start out doing food deliveries for (affluent, so they can charge higher prices while they figure out how to do it).
Walmart has a pickup service. They keep experimenting with rapid delivery but people don't really want to pay much for it.