Investors are counting on resilient consumer spending to prop up an economy that’s undergoing a massive upheaval from tariffs.