To be fair, a lot of software spending in Enterprise is what I would like to call Bullshit SaaS, a la David Graeber's analogy. Stuff that was subscribed to by some PM once upon a time, but then later sat unused, even as the company gets billed on it annually or monthly. Not to mention a lot of SaaS simply buying and using each other's products, fully funded by VC capital (which is the YC model).
Take for instance any of the Talk to your PDF products out there. They were popular when ChatGPT came out, but nothing close to the billions of dollars claimed to be in that market. Chatbase made a few millions in revenue, before selling, but now that OpenAI has native functionality, I'm certain that product has been zombified.
Of course, this is different from the large enterprise-level products being built by, say, companies like Harvey AI, but the utility of those products within an org over steady state (after all the hype has died down) remains to be seen.