PowerPC and Intel Macs used to use Open Firmware[0] to define their firmware (BIOS). Macs with M1[1] architectures and subsequent generations may also, but I cannot attest to this.
For those Macs which do use Open Firmware[0], a key implementation component of it is FCode[2]:
FCode is a Forth dialect compliant to ANS Forth, that is
available in two different forms: source and bytecode.
FCode bytecode is the compiled form of FCode source.
So if anyone asks, "who uses Forth anymore?", a correct answer is - a large percentage of everyday people.0 - https://www.openbios.org/Open_Firmware.html