Doubts over the commercial viability of AI just gave the Nasdaq its worst day since 2022.