The goal is to upgrade the massive system that sends water to 27 million people, mostly in Southern California, and vast sprawls of farmland.