how it goes down is important though. if automation follows after labor begins to move to something else then that's one thing, but the reverse, automation putting people out of work, mean there might not be anything for them to realistically move to.
The whole point is that you need fewer humans in the loop. If every factory worker automated out of a job was hired back to work on the robots, we'd skip the automation part entirely.
Self-driving trucks have mechanical parts too. Even if you automate basic mechanical maintenance, operation and supervision will still require human intervention for a relatively long time.