Government permitting is now a huge percentage of the cost of building a house in many US metros. CA is maybe the worst offender.
It's not just NIMBY. State and local governments have gotten exceedingly greedy over the past several years.
The ADU legislation is a step in the right direction.