It takes more energy to make a solar panel than it will ever produce, nevermind adding in batteries.
Slavery is immoral but I'm not convinced it's unjust. If people let themselves be conquered then they kinda deserve to be conquered. If they don't rise up one and all then they deserve servitude. Go get an apology from your forefathers, who were apparently cowards instead of unenslaveable men.