And on top of that, many Western countries routinely dump their overproduction on Africa, where as a result of all that free aid, local food production industry has all but vanished. Up until the '00s, Simbabwe was known as "Africa's corn chamber" - that is long gone now.
Plant X food, get X food?
Absolutely not! Even with irrigation, there are years with drought, yes even in the West. There are years that are too cloudy, or too sunny (yes, too sunny is a thing). There are years with locusts, and no insecticide doesn't completely solve that. And regardless of global warming or not, some seasons have always been worse for hurricanes, tornadoes, and some events at harvest time can wipe out crops entirely!
Outside of all of the above, few nations feed themselves on their own output. External food production can wither and vanish in an instant, whether through war, or inclement weather too.
You must overproduce to ensure a continuity of food supply. It's the same reason that fallow farmland must be a thing, too. There must be extra, there must be a safety net.
Only people who have never starved, never been truly hungry would espouse such things.
And that swings both ways. Last year, with the stars aligning just right, the corn yields around here were ~100 bushels per acre higher than even our most optimistic pre-harvest estimates. That is an incredible amount of unexpected extra product. Corn especially has a huge, unpredictable yield band.
Which, of course, is exactly why we started producing corn-based ethanol. To buffer the periods of uncontrollable excess — where the previous alternative was to see it rot away.
Crop subsidies, since the 2014 reforms at least, are "fair" to all crops. That does mean that the most grown crops (which in the US is corn, by a large margin) receive the most subsidies, but is that truly poor application and distribution?
Corn does receive the lion's share of the subsidies, but that's because we grow way more corn, because that's what the consumer chooses to buy (either directly or indirectly [e.g. meat]).
That would imply that subsidies give reason to produce corn over a vegetable, which isn't the case. The subsidies are "fair" — even when that isn't the goal.
You are right that corn is cheap, but that's a result of technology and the nature of what it is. It requires almost no human effort to produce. Stuff like vegetables, on the other hand, remain incredibly labor intensive even on the most technically advanced farms. It is a much harder problem to solve.
As compared to virtually every other food, grain is significantly simpler to handle in almost every way from seeding right to storage and distribution. And corn benefits from being insanely high yielding compared to other grains.
I do want to note though that corn is possibly one of the least useful crops to subsidize, it is one of the most robust and predictable food crops we grow, which is why so much of it is grown despite a large fraction of it's energy going into worthless stalk. More delicate crops that have larger and less predictable yield swings, like wheat, or something with delicate fruits that can't be stored long, likely deserve the majority of subsidization money that currently goes towards corn.