That's one of the main reasons why driverless lorries will never be a thing. Unless you accompany each one of them by a weaponised mini-drone, Robocop-style, that is.
[1] https://www.digi24.ro/stiri/externe/mapamond/au-fost-arestat...
If it were autonomous it could defend itself and its contents without risk to humans. At the very least with fart spray, pepper spray, itch powder, and the like.