And that's not even always possible. People who are easily replaced by robots aren't going to suddenly start building those robots; it's likely above their intellectual ceiling. As low skilled jobs are replaced by fewer and fewer high skilled jobs, low skilled workers will be left permanently out in the cold.
Education can be a solution generationally, but the notion that an older person is going to suddenly go back to school to learn a new trade is simply not how people in general work.