Machines are bad at transferring domain knowledge and generalizing/making unconventional linkages between topics -- what some would regard as creativity, they're also not going to be very good at empathy without essentially solving for strong AI and regularized data on human emotions -- there also are going to be human jobs because of protectionist instincts. ex: A machine right now would actually probably do a more optimal job of determining interest rates if given more economic data and more data on outputs/outcomes, but replacing the Fed and analysts under it with a machine is a political football and a half to even say.
If we solve for strong AI, we might as well kiss the species goodbye, never mind just jobs -- but the AI we have in between is not going to completely eliminate every category of work in the present, never mind future ones that might arise.