This is already reality. Any AutoZone store, and probably most other large auto parts retailers, will read and clear codes for you at no charge. Their upside is that you might buy a part to fix the code.
In many states they won't clear codes. Even for trivial faults that aren't safety issues.
Before the recent examples of using internet connected entertainment systems to hack cars there was a case where someone found that there was a vehicle bus connector in the wheel arch of certain vehicles, plug into it and you could do anything to the car from outside.
The security by obscurity argument is pretty dead at this time -- it doesn't magically get resurrected just because the object we are securing is a car.
Replacing the entire odometer is a different issue entirely.
And how does support for replacing a circuit board imply that the circuit board needs to support software updates? I don't understand what you're saying at all.
The diagnostic tools provided to official dealerships handle reading fault codes and reprogramming the microcontrollers fitted to the car. I think that OBD-II is about as good a compromise as you are going to get to allow aftermarket diagnostics.
In hindsight, it could have been better to have treated the car as a WAN, with every controller firewalled off from each other, particularly as the manufacturers have been talking for years about allowing access to the vehicle bus from outside so that cars can be linked together into a train and all changing speed at the same time. I don't think you would choose to do this with CAN though and I don't know of any proposals for newer network standards though it is a few years since I was a member of any of the ISO committees that worked on this.
There is a downside to diagnostics tools being freely available, you can clear any fault codes before you sell the car to an unsuspecting buyer, this will prevent the dash warning lights appearing until the sensor registers the fault again, which could be under particular driving conditions. Of course, this is little different from the normal 'buying a used car' pitfalls.
ON the other hand, I saved literally thousands of dollars by diagnosing my air-suspension fault myself, and then carrying out the work required based on that fault code. Pretty sure the dealership don't want me doing that, but then maybe they shouldn't charge a high hourly rate for a 5-10 minute process of attaching a cable and looking at the screen?