It was inevitable that something like this would happen sooner or later, either through security complacency or sheer bad luck. We were just fortunate it only happened to Windows.
I don't know what the solution is, but it's something that needs to be figured out.
The "solution" is that you bust up large companies until their market share of a vertical is less than 20%.
The fact that Microsoft controls 75%+ of the desktop/laptop market should get that pulled out of the company and broken up. The fact that Google and Microsoft control the email hosting market should get pulled out and broken up, etc.