Airgapping was my first instinct too, but the problem is we're dealing with state-level actors. Airgapping doesn't work with them. They're patient, well funded organizations. Trying to rely on never having a single type of car (any of which could have a hundred thousand copies on the road) hacked is a fools errand.
We need ways of disabling autonomous devices and detecting when they get hacked, not trying to win an impossibly hard game.