Microsoft have simply paid for heavily product placement in recent years, to try to combat Apple's market dominance.
Consider this article which features a ton of YouTube videos with Microsoft product placement, from an assortment of shows including:
- NCIS Los Angeles
- Hawaii Five-O
- Elementary and more.
This article actually posits a fascinating idea that other companies use product placement to a large degree as well, but it simply seems so much more transparent. So, for example, if someone is drinking a coca-cola, people just accept it as it's such a familiar brand. Similarly, if someone suggests "googling" something, people take it for granted - whereas if someone suggests "binging" something, it stands out like a sore thumb as it's such an unfamiliar phrase.