Makes sense for many applications. But what if you are building an autonomous flying drone? That's the kind of application at which RPi shines, to my mind.
(Otherwise, indeed, an ESP32 has rather adequate amounts of compute and RAM for many control applications.)