Perhaps the answer (at least in the US) would be to reduce the cost of reeducation to facilitate transition, and socialize healthcare? Lower wages might not be so bad where healthcare and education don't represent potential lifetime burdens for people. But then the tax burden for that would fall disproportionately on the poor wouldn't it? And also, there might just not be jobs at all to replace the ones lost.
I don't know.
The trend of people squandering their education and ending up in low paying jobs anyway disturbs me, but I think that could be solved by offering only majors that are in demand for free. Free STEM and medical sciences would be my initial suggestion, but I would want to see any decision like that backed up with some solid data (perhaps the data would reveal my concern is unfounded).
I suppose for some types of jobs it may be. If a coffee shop closes, and it's competitor opens another branch to soak up the extra demand, the additional coffee shop will probably use approximately the same number of employees as the old one fired. But can the same be said of, say, factories? What if the second factory, while filling the same demand as the first, was more successful because it used more effective automation?