Or making the phone more reliable, particular in high-humidity climates, where you want to prevent air from getting to the electronics as much as practical.
Meh, phones with removable batteries are still being made. Samsung's Galaxy Cover line has plenty of phones with removable batteries. Some even feature the much feared IP68.
Probably that's why the batteries are not removable in the phones...