Stocks saw new highs and big declines: How the volatile AI trade moved last week’s market