Intelligence alone isn't enough. Good values are also needed. Silicon Valley is an example of this, producing unusable crap. As values decline and AI is trained on content reflecting declining values, its judgement will decay and there will still be a collapse.