They are "sadly" forced to find other unskilled labor based jobs, many of which are being replaced by automation or process improvements... Or they need to find a way to learn a skill that can provide a stable income for them. I'm not saying it is always easy to just pick up a skill like that, but that's the more job-security-based route to go...
I think some of this can be solved with apprenticeships like some manufacturers are doing in the US. Were they need skilled labor to preform mechanical tasks automation is not able to do yet.
Though the number of these jobs is not going to be enough.