1) That for every low-skill job lost, a high-skill job replaces it. That's not the case. When robotic arms replace 100k factory workers, the robotic arm companies do not need 100k new programmers, nor are the factory owners going to use the reduced labor costs to turn into software shops. It's not like the industrial revolution all over again; computers and robotics are producing such enormous productivty gains that eventually there will be fewer people required by the labor force than the working-age population.
2) That people whose skills are no longer in-demand will somehow acquire other skills. Some will, but large swaths of the unemployed won't, especially among people 50+. That's why so many millions, especially 50+ women, have now been unemployed for years. It's not such an easy transition as you make it out to be -- people won't simply adjust, no, a large portion will essentially drop from middle-class to poverty and stay that way until they die. It's not they who will take the new jobs, it's the younger next generation that never had the obsolete skills.
A 55 year old with only a HS diploma for whom a computer has never been more than a magical toaster that delivers e-mail, only existing in the past few years of his/her life, is simply not going to become a professional programmer even if he/she wanted to.