Most enterprise AI projects have failed since 2018, a sobering track record for an industry awash in enthusiasm.