You don’t need even near the amount of male hatchlings that get produced for reproductive purposes. The vast majority of male chicks on egg farms get ground up.
Also, from an animal rights standpoint, “hey we don’t kill all of them, we need some males in order to subjugate their offspring to cruel conditions!” is more of an argument against egg farming than for it.