I think us humans made a critical error in that line of thinking.
It didn't avoid ko because of the risk of loss.
It avoided ko because of the lack of strategic win.