Given that California electricity is pretty expensive even though we have lots of solar energy, how can that be done? Why not sell it to the grid?
It might help to know that the author of the article is the founder of Terraform Industries, which aims to use solar power to synthesize natural gas. Likely the hope is to get efficiency by closely integrating the solar panels with the desalination plant, similar to how they do it in that project.
I think if they really can get cheap desalination, there are many cities that would buy the water and pay more than agriculture. It wouldn't make sense to tackle agricultural use first, since it's more price-sensitive.