In a changing world, keeping perspective is the best way of coping with change.
As we look around our own little circle of awareness, it's hard to project where we might be a few years from now. Here's a great overview of the retailing world. What companies are growing, or declining, and lest we become too enamored of the US being the center of the universe... a comparison to the rest of the worlds' retail industry.
https://nrf.com/news/top-100-retailers
Going down the charts should evidence the direction of business overall, and produce a clear image of what we can expect in the future... how we shop, where we shop and which businesses will provide the right mix of quality and value.
Most busineses that were on the cutting edge 10 or 20 years ago, have become top heavy in size, management and concentration on the bottom line, without seeing the direction towards efficiency. Making major moves in big box operations is extremely costly. The economies of scale are under the microscope today, as flexibility is the new key to growth and profitability.
In the food business, if it were a publicly owned company, my money would be on Aldi. Smart people who are doing things right, and light years ahead of any other company.
Self checkouts are only a small part of the change. Aside the online businesses, watch for smaller stores, tighter inventories, and possibly a return of the "Service Merchandise" model that some of you may remember.
Prognostication - courtesy an old retail guy.