It took decades to get the airline booking system off mainframes and it's still technically in progress
you wanna know something really scary? The US financial system, the part that actually moves the money around, is running on IBM mainframes using a codebase that dates in no small part to the 1970s. (Leans in really close) most people who knew how it was originally architected is dead now.