Legacy System Modernization as the Execution Layer for Enterprise-Scale AI Intelligence