That's a fantasy. The problem with 2008 for example wasn't the inability to make simple algorithmic decisions based on metric, it was that the fundamental risk was obscured (intentionally). Smart people mis-analyzed this and made poor decisions, because to some degree the instruments were designed for that purpose. Smart contracts do nearly nothing to mitigate this problem.
> The problem with 2008 ... was that the fundamental risk was obscured
Yes. And this is impossible with smart contracts. You can commit fraud by pricing the asset, but you can't prevent the market from demonstrating its quality in real-time.
With smart contracts there would have been a housing bubble, but there would also have been an inflow of capital when the market-value of the majority of CDOs crashed below about 80 cents on the dollar.