Weak earnings reports of some of the world’s biggest consumer-products firms sent their shares into a tailspin and dashed what could have been the S&P 500’s first four-day run of gains since mid-February.