I heard somewhere those spare part Bb keyboards have basically dried up.
At this point, and at these prices, there are very specific use-cases for esp32-based devices, and they are mostly all single-use devices (i.e. capture then process some video, caching it then transmitting it for remote storage is one use-case I have seen in the wild).
An rpi device is much more general.