There is not much to see in the city of Bakersfield, north of Los Angeles, but recent events have put it on the global electricity-industry map. As in many other Californian communities, Pacific Gas & Electric (PG&E), the local power utility, had installed smart meters in most households.