Education is key in this scenario. Of course, people will (have to) start looking for other jobs with higher wages, but these usually require better education.
This may not seem like a big problem for young people, but it will become one for older people. If you have a family to take care of, quitting your job and putting your existence at risk to improve your education is usually not an option.
Hopefully, this transition will go smooth and governments can come up with a proper solution to not ruin people's lives.