Socialism is inevitable. We just need to first develop technological systems which can assist the proletariat in identifying and eliminating corruption by the elite and/or powerful.
We can already afford to feed and house every person on the planet, probably several times over. Yet many are still hungry and homeless. It is not a lack of capital so much as a resource allocation problem - how do you 'throttle' greed so that you still motivate productive work without allowing those with disproportionate power to game the system in their favor. Technology can help us solve this.