There have been fast single-industry transitions. But not that fast. It took about 20 years for printing to go from a large craft with a long history to a minor employer. Not everybody got out in time, but there was warning. Same for longshoremen when containers came in. Computing in general took about 50 years to totally replace the clerical plants of the 1950s. Railroads in Britain took a few decades to really get rolling, and in the US, they made it possible to use the vast interior of the US.
The AI transition looks to be both broad and fast. That's harder for society to digest. Underlying assumptions of politics and economics break.
My guess is that sort thing will become common. We'll probably need some lefty policies to distribute the wealth. To each according to their needs and that.
If you’re useless why they’d keep you around?