These dealer protection laws made sense decades ago, they no longer make sense, but dealers bribe our politicians to protect them. That is all it is.
Does car company now have less power? ( with subscription and OTA updates , I think they have more power than ever)
Yes, we do. The "Big Three" of Ford, GM, and Chrysler now face significant competition in the US from Japanese, German, Korean, etc. carmakers.
All new electric car companies too
Tesla and Rivian, for example, wouldn't even be able to exist without this, the cost of setting up new dealerships is enormous otherwise.