Google is free - ads are expected. Microsoft is a paid product. Completely different situations.
In fact Google did it worse by blocking browsers purely by user-agent to key google services like maps to block the entry or Fire devices or windows phone devices.
Both cases aren't acceptible and both should be punished imho.