I wonder about this all the time. My primary interest is in fields like Computer Vision, with an ultimate goal of contributing to the self driving car scene. As excited as I am by that and want to see that future as a reality, there's a side of me that wonders what the workforce will do as automated system continue their steady march forward. Once we 'automate away' driving, things like truck drivers (of which there are 3.5 million) will be a thing of the past, probably cabs too given enough time.
Where do they go?
All these things are completely free and not staffed by any humans... because the billionaires who live in cities in the sky feel guilty about the pathetic insignificant lives of the idiot masses below. So we give them the necessities they need, and poison their food so they don't procreate too much.
Soon we're going to be seeing low-skill jobs go almost entirely to machines, while higher-skill work gets more and more levered up. I expect at the pace we're going (on both technology and economy), that will happen before we ever recover from the current crisis. A large percentage of workers are not going to have much to offer, economically, and I'm not sure where we go from there.