This is a top-down incentive problem. If teams are rewarded for making things work, fixing problems, and keeping the lights on they'll pick up ownership of orphaned projects.
If they're only rewarded for feature delivery then they won't, and they'll push back on being given any non-feature work like maintaining things.