California's governor has signed a law that creates a fund of up to $21 billion to pay victims of the state's devastating wildfires.