Worry about income inequality and slow growth before you rage against the machines.
The whole excuse that machines replacing jobs is why wages have gone nowhere in the past 40 years is just that, an excuse, and an inaccurate one to say the least.
Wages have gone nowhere because corporations refuse to increase them. Period.
Source: The Robot Takeover Is Greatly Exaggerated – Bloomberg