The Nasdaq ended sharply lower on Wednesday after investors sold high-flying technology shares and pivoted to sectors viewed as more likely to benefit from an economic recovery