They didn't take too much memory, they mostly were just a bad ideas. "Ring security" doesn't really do anything; long command names are unwieldy and counterproductive (see PowerShell) etc; memory-safe languages have always been there in UNIX.
And it's not like C can't be memory-safe, as shown by CHERI/Morello (shameless plug). It depends on hardware.