All the other layoffs will pail in comparison with what will happen once automation is fully implemented in stores. It is expected it will leave 2.5 million American workers without a job per year! A bunch of that will be Walmart, higher-ups have already said they are heavily investing in automation.
Learn how to do new stuff folks, you'll need it.
http://www.wbur.org/hereandnow/2018/04/24/automation-jobs-middle-class