Large fossil fuel companies would have to pay fees to help New York fight the effects of climate change under a bill signed by Gov. Kathy Hochul.