President Joe Biden’s climate law aimed to stoke trillions of dollars of investment to wean the economy off planet-warming fossil fuels, partly through tax breaks for builders of projects like wind farms and solar plants.