And Microsoft had to invest in Apple, as a bankrupt Apple would have left them with effectively no defense against the antitrust investigation they were undergoing.
The jury's still out on this case. When historians look back a hundred years from now, will they consider it beneficial that Apple survived? Or will they see it as an unfortunate reprieve for a company that wrought unfathomable destruction upon our society via the creation of the smartphone and the attention economy that soon followed?
It's really hard to argue counterfactuals on this one. Perhaps the smartphone would have been built by Google anyway. I can't really imagine how, given the state of the mobile phone market at the time of the iPhone's release.