Usually the amount of pay increase no way compensates for the total pay lost across all workers - that's one of the incentives to continue with the efficiency gain of course. If it happens too fast only a select few will have jobs because the demand won't have time to match the new supply.
All the above assumes you need greater levels of intelligence to deal with the next bottleneck and that intelligence comes from humans as its only source. If AI is more intelligent than humans then this effect - known for most of human history - becomes an invalid assumption of the economic model; bottlenecks and the ability to solve them goes to the highest/cheapest intelligence.
IMV should AI do this it would invalidate most economic system assumptions including ones in capitalism, socialism, etc. My base case isn't a positive one sadly of what comes out on the other side.