The Dystopian AI efficiency trap...?

Can someone please explain where the promised growth & productivity boosts of AI that advances human flourishing should come from?

How I see it (and please help me find flaws in my thinking) is that productivity increases due to AI increase output of top performers » generating greater revenue per employee while reducing need for headcount expansion…

Which leads to gains in AI-first company stock prices due to promised destruction of labour and employee staffing costs (further inflating salary and net worth of top performers.

But where do displaced or “never hired to begin with” employees and labour go if they are now made irrelevant in job market and broader our economy?

And with so many “useless” workers no longer earning income, who exactly are supposed to purchase the products and services that these ultra efficient employees and corporations are producing…?

Because all of this increased “value” and consumption needs to come from somewhere…

Which basically has two potential outcomes:

  1. Some form of universal basic income (UBI) or re-distribution so said “useless workers” can still buy stuff

  2. Robots + AI our incredibly efficient at producing goods and services, but capitalist society resistance adapting to modern world and embracing social capitalism and humanity craters - the unemployed poor cannot afford to eat and the amazing corporations no longer have consumers to sell to other than their upper class employees and owners

Am I missing something here? This seems really obvious and worrisome, especially considering the ultra capitalist and incredibly common views in the US and western world around socialism and welfare…

Please someone convince me that I'm wrong!