This is by far the dumbest post in this thread by a mile. It's funny saying AI will make people dumber when you've obviously don't understand this issue in the first place. Food security is human security. When you take a huge percentage of a countries grow able land out because it stops raining then food proces go up, often dramatically.
Desalination uses far more power than AI ever would.
And if we wait until large scale desalination becomes profitable, it will be too late to respond quickly without massive upheaval and deaths.
This is where capitalism drives humanity off a cliff.