Maybe it goes the other way.... The fact that there is a housing crisis is the direct result of unnecessary sex scenes in movies. If they didn't put those scenes in, there would be less people clamouring to move out of their parents house, thus lowering the demand for housing.
If filmmakers adjust the amount of unnecessary sex scenes depending on how many people live with their parents, then it's what ecologists would call a negative feedback loop.