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.