Wall Street slides as investors rotate out of tech-heavy stocks

US stocks closed lower on Friday, with tech shares dragging the Nasdaq down, while weekly performance showed investors rotating toward value-focused sectors.