> tou can blink LEDs with an 5$ Arduino/ESP32 too.
At the time the RPi came out I don't believe Wi-Fi-enabled microcontrollers were a thing or were as widespread. RPi was the OG low-cost, popular Wi-Fi "microcontroller".
You are right that nowadays a lot of that can easily be done on an ESP32.