You see this in education, infrastructure, public health, scientific research, housing, and energy. All foundational systems of a society, which compound the value of everything else, but they aren't immediate profit centers so kick the ball down the road.
It is an attitude problem first and foremost; and I'm not sure how you fix that.
PS - This also impacts private enterprise, like corporations. Enshittify their current offerings for the next quarter bump but ruin their brand reputation/long-term viability.