Rain harvesting, recycling and smart tech help communities cut costs and shortages.