ESP8266 and ESP32 (outside of that one variant with a RISC-V core) all run Tensilica Diamond Standard 106Mirco and Tensilica Xtensa LX6 cores, respectively.
No ESP variant so far has had an ARM core.
Which is kainda neat, but not unheard of woth embedded microcontrollers.
At least it is not yet another 8051.