If Elon Musk’s vision of millions of households producing all their own power becomes a reality, it will probably happen first in Germany. The South African-born entrepreneur’s company Tesla, best known for its electric cars, sparked global interest in the idea of self-powered homes in April, when it said it would start selling lithium-ion batteries for households next year.