There's far more critical code in the world running on COBOL and s3[79]0 assembler. COBOL is vastly more important than C.
I'm sure there's a lot of important things that rely on COBOL, but by most definitions of "critical", I think this is way off the mark.
The OS kernel for nearly every PC and server on earth is written in C.
Almost every electronic device on earth complicated enough to require software is probably running at least some firmware written in C.
I think those both outnumber ATMs by a hefty margin.