Earlier quoted context omitted.
The esp is a cheap microcontroller. You shouldn't productionize an esp32 dev kit but you should absolutely productionize an esp32 on a board you've designed that has the specif features to do your thing (whatever that is).
no, the ESP32 is a SoC, a bunch of chips in a package on a PCB. not a bare microcontroller chip. It is already a product with several resellers: ip, fab, packaging, exporter, distributor, retailer and a very high profit overhead of at least 2.7 times the costprice
https://www.espressif.com/en/products/socs/esp32
The ESP32 is a SoC. It's available in QFN packaging (Quad Flat Pak No Lead).
The ESP32 is available included with a number of "modules" (and of course devkits). These modules are designed for production use and it can be economical to do so. You clearly don't have the foggiest idea about these product lines so don't seem to be in a good position to comment on the economics.