Technology investment drove growth in the 1990s, both directly and by fueling a rising stock market that led to increased consumer spending.