Google’s former CEO helped write A.I. laws in Washington without publicly disclosing A.I. investments