Android and Chrome are not Google's core business. I do not believe they truly expect to take the lion's share of the OS market from Microsoft.
However, Ballmer is obviously spending a lot of time thinking about them. By forcing Microsoft to focus on defending their core product, they are distracting them from attacking in new markets. Resources focused on defending Windows are resources not spent on competing with Google search, for example.
Joel describes the general idea here:
If that means making a better browser so people will be more comfortable on the web and spend less time loading pages, Google gets more revenue.
If it means making a good mobile OS so people spend time on the web from their phones, Google gets more revenue.
If it means their competitors improve their products to make people happy to spend more time on the web, Google gets more revenue.
Improvements to IE is more ad impressions/clicks for Google as people will be inclined to spend more time and visit more sites online. It's not even about IE "running" Google software as much as it is improving the Internet, which is where Google ads display.
> “There’s a great deal of commonality,” Schmidt said. “Eventually they may merge even closer.”
http://paidcontent.org/article/419-googles-schmidt-on-chrome...
[1] "I think that’s a little tougher for them now because they basically tell the hardware community Android is dead, Chrome is the thing or maybe Chrome isn’t the thing. Maybe it is Android. The cacophony there is probably helpful to us in the grand scheme of things and I don’t know why they would have chosen to do it, at least the way you read the press. It probably has a lot to do with internal squabbles, but I just don’t know."