I think the change will be somewhat slow, at least at first. Not as sudden as some here seem to think it will be. The AI/robot revolution is not going to be the magic end all "bam, doomsday!" or "bam, utopia!". For a while most robots may actually increase the productivity and/or living standard of some workers without costing anyone their job.
As an example: Just bought a roomba 770 a few weeks ago. I have used it several times already. It cleans my entire house floor thoroughly. Based on the data I have so far it saves me about 30-45 minutes vacuuming time a week. So thats at least 30 minutes more I have now that I did not have before to do other stuff. Not only that, it never took anyone's job. I did the vacuuming myself, now i dont have to do it anymore. I am actually increasing employment, because software/hardware devs were needed to design the product I bought. My standard of living just went up.
Admittedly this is somewhat of a cherry picked AI example (came to my mind first), but there are others like it. Think about:
voice recognition: I can 'type' a message in 1/3 of the time. Interfacing with devices is more useful
navigation: I can find the optimal route to an arbitrary location in about a second based on route and traffic. This saves me time and fuel
the smartphone revolution: people can communicate easily, or research something new throughout previously wasted time
semi self driving cars: transportation is safer now than ever before
These types of AI improvements cost nothing job wise, and increases our productivity.
It will only start to hurt with completely self driving cars that are reliable and affordable to businesses, and then finally the masses. What determines how painful it is for society will mainly how we choose to deal with it and how we best provision the excess labor force. (the transportation industry is millions of jobs in the USA alone)
I think we are at least a decade off or so before it hits to hurt. Regulation and safety concerns (though most likely unwarranted) will keep the technology from rapid widespread adoption. Phasing out the old fleet of automobiles will take quite a while. I doubt everyone here has 30-60k they can drop on a new car or SUV even if it does make your life a lot easier. Even businesses (Uber, transportation, delivery) will be somewhat slow to roll it out because they will need ways to best integrate it with their current business models.