The era of Skype is drawing to a close as Microsoft has confirmed plans to shut down the pioneering video-calling service it acquired in 2011, replacing it with the free version of Microsoft Teams.