That’s the $64,000 question isn’t it? As we saw in the Industrial Revolution, and before, big advances in technology generally made a few people rich at the expense of everyone else. There are times like after WW2 that wasn’t the case but going back hundreds of years the rich got richer and the poor got poorer until there was some regime change. But as we have seen with “tech” very few people got wealthy leaving the masses behind to fight for the scraps. AI will be used to create military tools and remove good paying jobs leaving crappy low paying jobs behind. We could regulate it but that’s unlikely because politicians always do the wrong thing. I’m afraid we have two paths here. Some dystopian 1984ish future or full revolution like the Butlerian Jihad.