The issue of what happens to the males is often overlooked. In dairy cattle, the bulls are relatively useless (low meat yield, etc), so they're killed. Same with roosters - laying breeds are far different from meat breeds, so the males are ground up as chicks.