Microsoft will invest $5 billion in IoT. Here's why.