incoming flame war about how the raspi 4 was overpowered and they should have just used a button sized 8052, written the software in assembly and ran it all on CR3032 battery.
In many cases, meeting a development schedule is far, far more important than cost or other constraints. I will happily throw a $25 ESP32 module at something that a $0.50 Atmel chip could handle, if I only need to build one unit. The $25 is a bargain compared to the amount of work I'd have to do to get the Atmel chip up and running.