Automating jobs is a good thing. It's not sharing the profits of increased productivity with everybody that's the problem. I'm looking forward to the day when developers are automated.
Pretty much almost all (time) gains from automation get immediately filled with non-automated tasks instead of giving you endless free time.
Otherwise at this point in time in history no one would need to work. But we keep coming up with more stuff to do and fill up our time.