Google doesn't care about iphone vs android. Google only cares that you are using the internet. An iphone/ipad is an expensive device for well off people. Androids don't have to be and less expensive products broadens the market. A market which when broader, is going to be owned by Google.
Making google maps a iOS product only encourages more people to use the internet and thus google.
Google also cares about its earning reports and stock price. "Using the internet" doesn't pay the bills. Google is far from a charity. Its a multinational corporation beholden to its stock holders.
Google made a strategic decision to piss on its mobile division to help its maps division. This may not have been the wisest move and considering how google stock prices have been falling lately, well, wise moves is something it needs to focus on.
I just hope google knows what its doing. Apple is ruthless against Android, yet google seems to be pretty easy going with iOS.
Larry, Sergei, and Eric own almost all Class B shares which have 10 votes each. They control about 65% of the voting shares. So really the rest of the stockholders are just along for the ride. Google is really in this for the long game.