I think Google has at least 1 datacenter that uses batteries instead of generators.

>In Belgium, we’ll soon install the first ever battery-based system for replacing generators at a hyperscale data center. In the event of a power disruption, the system will help keep our users’ searches, e-mails, and videos on the move—without the pollution associated with burning diesel.

https://blog.google/inside-google/infrastructure/cleaner-dat...

Disclosure: I work at Google, but no on anything related to this.