BoM cost is not the whole story; a physical switch can greatly complicate an assembly, and may require hand-soldered wires. In addition to those cost-related factors, external switches are usually quite ugly, and getting them right can be very challenging, so it’s much easier to just omit them.