Even with capitalism there is distributivism and there is "neoliberal" capitalism and there is mercantilism and oligopolism. The former two don't become worse or better from automation. More likely better. The latter two become worse because everything new is power-guarded from benefiting anyone other than elites having power.
It's the old question that was being explored in science fiction even before computers. It just took hundred years to reach the problem itself.