An almond farm and a “big ass battery” show the future of energy in California