I think it's pretty clear that if automation gets to the point where machines can do the difficult tasks, like repairing a sewer or managing a farm, then the entire human workforce is no longer needed.
It's difficult to see where it might head that doesn't lead to population collapse and some form of dystopia.