Tesla’s earnings surprise sends stock soaring, but tech struggles drag the market down for a third day