Amid the initial burst of excitement around generative AI, companies invested vast sums into the technology. But now many say the results are falling short of expectations, according to a quarterly survey by Bain Research.