Automated jobs: will robots eventually put humans out of work?

We're inventing new technologies all the time that make our lives easier, but that often involves replacing a human with a machine - like in banks (cash machines) or supermarkets (self-checkouts). So if we keep on inventing stuff, won't we all be out of a job soon?

https://www.youtube.com/watch?v=LCxcnUrokJo