The tech-heavy Nasdaq tumbled more than 1,200 points, putting it on track for its second-worst day of the year.