Just like he foresaw the Internet as a big threat, right?
> Sun Microsystems, the creator of Java, sued Microsoft in October 1997 for incompletely implementing the Java 1.1 standard.[2] It was also named in the United States v. Microsoft antitrust civil actions, as an implementation of Microsoft's Embrace, extend and extinguish strategy
You can bet all the money in the world that Gates would have been acutely aware of the App Store. The App Store is, after all, Apple doing to the handheld market what Microsoft did to IBM and the PC. Which is, establishing themselves as a gate-keeper for all things mobile.
The answer is obvious if you lived in the late '90s. Java was a real threat to the desktop.
That doesn't mean MS was wrong. They were. But Bill Gates didn't have his head up his ass, either.
For example, I bet that Bill Gates would have foreseen the iPhone as a really big threat from day one and we would now be marveling at one of his famous internal angry emails that changed Microsoft's direction (leaked because of a new anti-trust suit, no doubt). Bill Gates is no Steve Jobs, but he's a heck of a strategist and even now I don't think there's anybody that wants him as an opponent.
For me, it's not sad that Bill Gates left Microsoft. They were too big, too powerful, too eager to eat the launch of other companies. The industry is better off without him at Microsoft's helm.