There will be still stuff to do which a robot will not able to do it. But not in 50 years.
Read the book Homo Sapiens. This guy write it just how it would be in 2050 and above.
Everything works with algorithms. Even a Police officer, lawyer or Doctor could be replaced by a machine.
You're going to absolutely love this response. Technology is moving at a tremendously fast rate, don't worry about many of the responses you've received so far as the vast majority of people today think and see time in a very linear way as they can't envision the progression of time exponentially. Which means that many of them can't really remember when the cell phone of today ( for example ) was of a poorer quality 10 years ago. Today they would say, the cell phone was always as good as it is today. Ten years ago they would have said that their cell phones were the best they had always been and will never advance. The example I just gave you is called man's perception of Moore's Law of Accelerated returns where technological advancements are doubling faster and faster every year. Mankind is reaching a point where the human mind will struggle to keep track of time.
Here is a very popular Ted Talk that will help you find your answer:
The Next Hundred Years of Your Life | Pedro Domingos | TEDxLA
https://www.youtube.com/watch?v=r2YiRiLAU_Y