SolarCity Corp., the biggest developer of U.S. rooftop solar panels, halted efforts to install and connect systems that include batteries for power storage because California’s utilities are reluctant to link them to the electric grid.