Companies pay millions and millions to get away from bespoke software, but not simply because of the costs. Companies want to do their core business, they don't want to also be a software enterprise, and assume all the risks that entails. Even if AI makes creating software 10 times less expensive, that doesn't really change.
SAP is bespoke software.