Even if national income goes up, too, changes in the distribution of income still may make things worse for large groups. If you pay your robot maintenance team of 10 each $100k a year to be able to fire 30 workers who used to make $30k a year, total wages go up, average wage goes up, but the group of workers feels worse. Even if they could do the new robot maintenance job, not all of them can get one. Moreover, they now know that others make $100k a year. That makes the $30k they can make if they are lucky enough to get hold of one of the remaining 'worker' jobs look less.
This more or less already has happened for blue collar workers. They make more money as individuals, but there are far fewer of them.
Yes, there are replacement jobs and, historically, many of them payed better, but that isn't a guarantee that that will keep happening.
For me, the big question is: will there be replacement jobs this time, and will they pay well enough? If not, taxing capital (aka a 'robot tax') for me seems the best solution.
So, what are those replacement jobs? I wouldn't know. On the other hand, I doubt people knew at the start of the industrial revolution, either.