Safer systems languages than C predate C.
Meanwhile RedHat and others don't have infinite resources, and they inherited sudo.
And if either GCC or clang are supported, they support safer languages than C and C++ on their standard collection of frontends.
They were also open about it, and thus created lint for validating the code, which most people ignore when writing C code.