We're in the middle of this war between giant companies around the future of collaboration. Google, Cisco, Microsoft, etc are aggressively building marketshare for cloud services and telecom, but they're success will eventually mean that they'll run out of new customers. So they need to steal from each other.
For Microsoft, XMPP federation is a great way to contain Google and make inroads on places that are Cisco IM/phone shops. In the long run, they want to extend corporate email dominance to phone via Lync/Skype.
Google doesn't want to be a commodity. Hangouts is their secret sauce. What do they gain by being open?