The stock-market crash that began the decade taught ordinary people that investing in stocks was risky. But that didn't stop them from spending the 2000s playing an even riskier game — real-estate speculation.