Maintaining old systems slows down modernization efforts as enterprises rush to adopt agentic and generative AI.