What the sibling posters said -- it's not related. Cost of production itself is actually going down because we get ever better tools to make the houses and they don't have a fixed "human content requirement" to the labor.
Costs are spiraling up because of restrictions on building -- both the density, and the transit that could handle it.
Costs are spiraling up because of restrictions on building -- both the density, and the transit that could handle it.