Just how many times did you copy-paste that comment?! Are you a bot or a lobbyist by any chance?
You think that we started producing some grains, and one day we realized we had too much by-products and one smart guy said: "let's start a cows herd so that they'll eat these". Sounds legit. Especially if you consider that eating beef the way we do is very recent in human history, and still inexistent in many parts of the world. Poor folks must be buried under the by-products...
So, since I don't think farmers are total morons, I would rather imagine they would produce different kind of food, such as leguminous.
Today we burn tons of oil. Say tomorrow we have switched to all electric. Do you think we'll keep extracting oil and that will create an environmental burden because of that oil sitting around?
That's the same reasoning.
Today we grow megatons of corn,... for different things, including feeding livestocks.
Tomorrow, if we have less livestock, we'll adapt the crops mix, just like rest of the world has been or is still doing fine without having mega-herds of cows.
We don't have too many cows because we had too much crops. We increased the crops to match the herds!