Companies that spent heavily on AI tools over the past two years are starting to question whether those investments are delivering sufficient value.