Solar and batteries aren't consumables, so they're not particularly vulnerable to supply chain disruption. If we lose our supply of batteries, we'll have ~10 years or so to find an alternate supply. We won't be able to do new installations during the disruption, but existing installations don't stop working.
Unlike a fossil plant when the supply of fuel is disrupted.