Those are good questions. Our challenge becomes ensuring that people are capable. How many of those displaced workers are less capable because of something intrinsic (some mental defect or insufficiency), and how many just need to be trained? I'm not sure if we'll ever reach a point where the "average" person is unemployable, but we can imagine a future where that is the case. But there's such little genetic variation within humanity that it seems likely that our education system could be made much more rigorous and suitable to ensure that everyone comes out of it at a very high level of capability.