Assuming the truck driver isn't heavily armed or willing to endanger themselves by wrecking an 18 wheeler, there's nothing really stopping anyone from doing that today.
You seem to be working under the assumption the nobody has ever hijacked truck up to this point, and that for whatever reason self driving trucks would be left unlocked with no security mechanisms in place whatsoever.