Microsoft phased out its Windows-powered smartphones in 2017 after they failed to take off with consumers.