Stock market today: S&P 500 hits 4-day losing streak as tech stocks weigh down market