It also makes use of the sun and rain for free, unlike controlled setups. Weather is an issue, but it's not an issue everywhere at once. Even now with the progressing climate change farmers are adapting. You have introduction of regenerative farming to mitigate erosion and help with water retention, planting wind barriers, more resistant plant varieties, and much more. It's all designed to help mitigate weather fluctuations. Startups growing wheat under UV lighting are not going to feed the planet.