San Francisco-based start-up Cosmic has created a solar-powered home that generates more electricity than it requires to run. The company’s hybrid prefab approach to building presents a vision for housing that’s affordable and sustainable, appealing to young, eco-conscious buyers.