A double-whammy selloff of tech stocks and metals shook markets on Friday.