San Francisco on June 4 hired a financial advisor as it considers buying distribution assets from the beleaguered utility Pacific Gas & Electric, which filed for voluntary bankruptcy protection in January as it faced more than $30 billion in liabilities stemming from 2017 and 2018 wildfires that burned many thousands of acres and destroyed thousands of structures.