In the long term, they cost more than the code that is just optimizing delivery of what's in the warehouse to "what each consumer has been surveyed as preferring/purchasing".
This seems like an inflection point for the company where their software is starting to be more useful than their employees. It's the equivalent of McDonald's replacing counter people with kiosks.