Yeah, and what about theft? If the truck is programmed to stop if there's a person in front (one would hope so), then how can you stop thieves lifting the whole thing?
How is that prevented now? Also, a relatively common form of theft now is the human driver absconding with the trailer. Also, a self driving truck would presumably be generating high resolution 3d scans of any potential hijacker.
people are generally a lot less brazen towards other humans compared to how they interact with automations or things that are remotely surveilled rather than with a human attendant.
trains with unarmed guards generally don't get robbed.