In production replacing humans with robots only make sense in certain situations, either because of cost or due to lack of flexibility and abilities. I know a guy who works in a factory making juices boxes, not the content, the actual box. They have humans to quality control using their fingers, because the robots can't actually do it.
For white collar jobs, A.I will do the repetitive jobs, those that are easily automated using the current technologies. There is just much more work that there are people, and A.I still can't do most of it.
Self-driving cars excites me for the same reason, what happens when the algorithms controlling the cars decides that the infrastructure in an areas is insufficient and you can't go where you want to because that would add to many cars to a given section of the road. Or it generates huge traffic jams because it's forced to keep a safe distance and there isn't actually an room on the road.
I don't think HR is dumb, per se, but that large, publicly traded corporations tend to focus on short term gains rather than what an AI might consider more reasonable long term gains. Such companies are also not above doing questionably legal things for this purpose - there's a lawsuit against Twitter for violating the US WARN act.
True, but things have a tendency to become, shall we say: Extra illegal, if you've already been warned.
In many cases you can claim that you didn't know, or that you thought that your situation was somehow special. An A.I, with knowledge of labor laws will make such a claim problematic.