I think you're being too optimistic. The only time I can think of where the US made the switch successfully was when creating entirely new job sectors. e.g. from Agriculture to Industry meant there were similar numbers of jobs in Industry, and then to the Services. But Automation seems to be a dead end: one worker is so productive he/she can manage an entire fleet of autonomous trucks (e.g.)! So there will most certainly be a lot of people losing their jobs and the kind of jobs opening up for them... don't seem to be many.