In other words, the real benefit of automation is to raise everyone's standard of living by raising the average productivity of human workers.
https://www.youtube.com/watch?v=jbkSRLYSojoLet's say I have a shoe factory, and I install a robot that can, say, cut the shoe leather faster, more cheaply, and more reliably (less waste). Perhaps it can cut shapes a human couldn't, or couldn't cost effectively, so I can even sell new shoe designs. The guy who used to cut the leather and put in the shoelace eyelets can now just do eyelets. This might cut my costs such that I can drop my shoe price AND make a larger profit. The lower price means I sell more shoes and make more profits. So I not only keep the old leather-cutter, but in fact might bring on more people so that I could get even more profits.
This is a contrived example, in the style of The Wealth of Nations, but it could just as well be a more complex one. Computers replaced slide rules and draftsman, yet more people are involved these days in building planes (and more interesting ones) than were in the pre-computing days.
Yes this is not the only possible outcome -- some people will be automated away, can't find other employment and they will be screwed. Governments should provide some support for them, and some governments will (probably not the US, but that's another story). But it's not axiomatic that "robots == job loss" -- we're not talking some sort of asimov robot that would be a 1:1 replacement for a human!
Sally works at an electronics factory for minimum wage. The factory fires her and replaces her with a robot. The factory then is able to sell some electronic components to Joe for a lower price while also increasing the factory's margin. Joe sells handmade artisanal pocket calculators. Now that some of his components are cheaper, Joe can afford to hire Sally to work as a phone salesperson, making slightly more than minimum wage. Sally makes more money, the factory makes more money, and Joe can expand his business and probably make more money.
This takes effort and may be achievable with a lot of gumption, sure, but now consider the entire workforce that just got fired. Are they all going to be able to pull that off?
http://en.wikipedia.org/wiki/Lump_of_labour_fallacy
Your comment applies not just to robots but to any labour saving device or productivity increase. From the wikipedia page:
Historically, the gigantic increase in labour productivity induced by technological progress since the industrial revolution has resulted in the dominance of the scale effect, bringing about both a massive increase in real wages and a decrease in labour time. There is no reason to expect that this same process cannot be continued in the future.
If there's consumer demand for more (and cheaper) versions of whatever product, then rather than a single company this form of automation can grow the industry as a whole too.
Inevitably, however, there will be industries that don't really need to grow. We'll just get what they make cheaper without buying much more of it. But then we'll have extra money (and extra people willing to work) -- figuring out new things for those people to do, possibly in wholly unrelated industries, is the very essence of why most of us still have jobs despite centuries of automation.
As a thought experiment, let's say that a company fires n workers because it is in the process of automating their jobs. Now, let's also assume n workers get hired, at the same wage as before, producing the automated systems which had previously replaced them. How can it be economically viable to automate, if instead of only paying your original n workers, you are now indirectly paying n employees producing the equipment you are buying, plus the capital costs of automation? Since we know that it is in fact more cost effective to automate, then the only remaining possibility is that there are either fewer workers producing the automation equipment or they are being paid less.