The plan for Pacific Gas and Electric, the California utility, to enter bankruptcy to manage its $30bn wildfire liabilities has sent shockwaves through the US energy industry, raising concerns about the outlook for investment in renewable power in the state and beyond.