Microsoft is closing down Skype, the video-calling service it bought in 2011, which had helped spark a transformation in how people communicate online.