How AI's hottest trend turned into a costly hangover