I don't buy their take that the safety issues are because Android Auto and CarPlay are buggy and have connection issues and other crap that cause people to use their phone directly. I've only had a new enough car to use Android Auto for a year and half now, but I've literally never encountered a bug that required me to touch my phone. If there are bugs on GM's cars, I expect that's an issue with the car's software, not Google's or Apple's.
Obviously GM is putting forth a bad-faith argument to justify their real reason, which is that they just want full control over the experience, and likely want to find ways to monetize things that people can do with their own interface.
Good luck with that, GM. Even if GM somehow manages to build a nice, performant, featureful, non-buggy infotainment system (yeah, right), guaranteed they're going to stop releasing updates for each car's version of it within 5-10 years of the car's release. Meanwhile, as long as my phone keeps getting updates, Android Auto will keep getting updates.