> I'm not even sure how that is relevant in most use cases if cost is a factor.
Totally agreed. Microcontrollers do GPIO better than a RPi ever did. An ESP32 or Raspberry Pi Pico can handle so much on their own.