Losses Are Piling Up. Tech Leads a Broad Selloff.