As Microsoft shuts down Windows 7, it has an opportunity to move Windows into a new era—and it could take a few lessons from Apple on how to do that.