Tech giants are all in on shaping California laws governing AI and backing their preferred candidates with tens of millions of dollars.