Stock losses amid tech sell-off