If you enter into a grocery store (my son and I do so every Sunday at 6am to beat the crowds), you will have noticed that a growing number of "self-checkout" systems ("SCOs") are available. Sometimes these SCOs are oriented towards a limited number of items ("15 or under"), sometimes they are an alternative to the regular full-service checkout lanes. Occasionally, when I have only a half dozen items, or so, I am led away from the full-service lane (by a store employee) over to an SCO. I almost never voluntarily choose them -- because I know that the number of human cashiers are reduced as a shifting of resources.
Is this bad? Bank tellers shifting to ATMs and online banking? Grocery store cashiers giving way to SCOs? The general shift from "brick-and-board" physical stores to online shopping or automated inventory and checkout systems? Automated package, and luggage, sorting at parcel and luggage handling locations? And so on and so on.
There are shifts in the economy and work force taking place. Many of these shifts are due to automation. There are a couple of primary effects of this ongoing shift. First, the lower skill jobs are disappearing -- but higher skill jobs are being created. This is not 1-to-1 (1:1). For every five lower skill jobs that are replaced by automation, one high skill job is created. I am making up this ratio. It will depend on the exact industry and other factors. But it is still the situation that fewer high skill jobs are created than are lost from the lower skill job pool. That's a large part of the reason why there is a shift towards automation -- to save labor costs.
The second shift can be interpreted from the above but it is rarely openly acknowledged. As more and more lower skill jobs are replaced by automation, the number of jobs that lower skill workers can qualify for -- and, especially, that pay a living wage -- goes down. There are unemployed people who do not qualify for a position in which they can support themselves and that number increases every year.
Educate them! True, that can make more people, who used to be lower skill, able to join the higher skill work force. But, as the number of people needed for businesses continues to decrease, we end up with more people without positions to occupy. Education, by itself, only gives the possibility of having more higher skilled people without jobs rather than lower skill people without jobs.
One possibility is to spread existing work around to more people. If each position in the economy occupies a person for fewer hours, then the economy allows for work by more people, If a company needs a labor force of 800 people-hours per week, there can be 20 people working 40 hours/week or there can be 32 people working 25 hours/week or even 40 people working 20 hours/week. Note that these people still need to be making living wages (and, with their education and training, likely will expect more).
Another possibility is for people to set up businesses for themselves! That is happening and it may all work out. Certainly my crystal ball doesn't have fewer cracks in it than anyone else's. Such a shift requires economies moving away from physical consumerism; factories will continue to have fewer and fewer needed workers and "brick-and-board" businesses will move away from lower skilled personnel. Note that moving away from physical consumerism also has side-benefits for the environment.
These newly invented businesses will have to deal with non-physical merchandise. Skills, learning, ideas, coaching, artistry, creativity -- a new paradigm for the economy. These new entrepreneurs need different training, and ways of thinking, from that which is presently being presented within the education system. Learning facts becomes less important. Learning how to research, and interpret, facts becomes vital.
Jobs that are not cost-effective to automate (at least we are not at that economic tipping point as of yet) will still exist for the indefinite future. And there will continue to be people who will not, or cannot, obtain skills that will work within the new economy or the higher skill level traditional positions. But they cannot work 40 to 60 hours and still not be able to afford food, clothing, medical care, and shelter. It is a recipe of desperation. We may not often put people in jail for stealing a loaf of bread, like Jean Valjean in Les Miserables, but people who cannot succeed in living legally will find a way to live.