If you look at the average price of a new car, adjusted for inflation, it has pretty much always gone up aside from recessions. There have been plenty of advancements in car technology, they do not make them cheaper. It actually gives reason to charge more for them due to perceived increase in value.
What percentage of that price is cost of good sold vs. a bunch of regulatory bs like dealers and taxes?
Yes but you're getting a lot more for the same price. It's a lot more powerful, comfortable, safe and efficient while the effective cost has remained the same.