SolarCity Corp., the developer of rooftop solar-power systems whose chairman is billionaire Elon Musk, is seeking as much as $151 million in an initial public offering.