How Tesla batteries are powering an energy revolution