When budgets tilt toward AI, the unglamorous work of modernizing legacy platforms can stall, and the hidden cost shows up later as overruns, delays, and weaker returns.