Non-lithium energy storage is probably the best theoretically, e.g. https://en.wikipedia.org/wiki/Gravity_battery
Connect a few V2G cars to the apartment building as well to soak up the excess supply in the daytime and demand at night, and pretty soon we have a robust solution.
V2G (or generally, electric) cars are absurdly expensive even in Western countries.