While Amazon tried to go into the private hosting and ci/cd market, they are not a dev tool company. Microsoft was born as one. When Amazon or Google would buy GitLab they would meaningless integrate it, reduce staff by half and then ruin it over time.
Maybe when Microsoft would have opened up some years earlier, Codeplex would not share the fate of Google Cloud.