One possible piece underlying retail productivity gains:
The minimum wage has increased in many states over the past few years. Since lots of retail jobs are near the minimum wage there has been widespread effort to reduce headcount. Technology investments has allowed the changes.
You almost never see Help Wanted signs in retail anymore.