Wow, quite a distortion you came up with there. Granted, Marx did say some interesting things but the question should be why communism would allow companies to build machines that remove income from humans? For that matter, why is a "capitalist Republic" allowing it now?
Because a system, once build, is more than just a sum of its parts. It has independent existence and motives. What that means is that neither communism, nor capitalism, nor USA nor China, are under human control, so why would they serve human interests, except incidentally? Yes, these systems have human actors making decisions, but these humans can only make decisions within parameters given by the system itself - a Foxconn CEO must do whatever it takes to keep Foxconn "competitive", and if he won't, he'll be replaced by someone who will, and likely severely punished. An American politician must accept a system-approved role - a set of political positions - if he wants to be elected. A dictator, while seemingly free, faces the same situation, except the punishment for disobedience is death rather than merely dropping out. Human beings, even those seemingly in control, are little more than agent-slaves of the Lovecraftian monstrosity they've conjured.
No one wanted World War I, yet it still happened. Neither the Soviets nor the Americans wanted the world to end, yet they came within hair's width of blowing it all up during the Cuban crisis. Chinese don't want to breath a poisonous fume, yet Peking's air is just that. People regularly refer to "the market" like it was a living thing that needs to be appeased and soothed and definitely not something anyone can control - because, in some ways, it is.
Human beings aren't in control of their own nor the destiny of the world, and haven't been since civilization began. I suspect this is the real reason religions keep popping up: beneath the bizarre cruft all traditions tend to accumulate, they present a perfectly accurate picture of the everyday experience of living in a world ruled by utterly inhuman and mostly invisible forces. For example, "Free Market" is, for all intents and purposes, the god of capitalism, gets treated that way by everyone, has sacrifices performed to it, has temples and priests trying to predict its capricious whims, is the object of fundamentalist faith - I've had people define a human's very right to live in terms of body ownership - and doctrinal conflicts, etc. Someone who wasn't indoctrinated to the system from birth could hardly avoid classifying this all as a typical religion.