The problem isn't that we are gaining more knowledge and better technology. The problem is that we are allowing the rich to use the technology to subjugate the majority.
If AI improves human productivity so much that millions of people no longer need to work that should be an incredible thing. But the flawed structure of our society punishes those people rather than freeing them to persue endeavors that interest then.
Only solution I can think of is higher taxes for the rich used to provide universal income. I'm not sure how the realities of that would play out, though.
Anything based on a free market just ends up in.. this.