AI boom shows strain as Palantir slumps and Nasdaq slides