Good question! I tried to tackle it in a previous article. Here's the relevant quote:
"a world where machines keep GDP high despite a falling population is not necessarily a world where most humans are thriving. We shouldn’t expect AI and automation to bail us out without first asking who will be allowed to own these new digital means of production? Who will be allowed to reap the lion’s share of the economic output they produce?
Because it really won’t matter if intelligent machines produce many countries’ worth of economic output every year, if 99 percent of those gains are captured by the 1 percent of people who own the patents and licenses to the technology."
https://aninjusticemag.com/is-capitalism-a-ponzi-scheme-af6f4a2de650