Growth has been bolstered by data-center investment and stock-market wealth. A reversal could raise the risk of recession.