A lot of old mission-critical banking or commercial software systems have been running on those machines for decades. Before the AI age, it'd seem impossible to migrate those programs off. Now with the AI help, there might be a glimpse of hope.
Part of the value of a migration would be the opportunity to to unwind some of the details that are contradictory, mis- or non-documented, or wrong-but-unfixable.
Also, a lot of the problematic issues are related not to fixing the local code, but dealing with stuff like external systems or pre-existing legacy data that you need to be able to read back after 30 years from cold storage.