Lithium is worth about $40k per tonne, or $40 per kg. A Tesla power wall 2 is about 150kg, if half of that is lithium, then the lithium alone is worth $2.3k. Powerball costs about $9.5k, so the lithium is a fair portion of the cost.
https://www.thisoldhouse.com/solar-alternative-energy/review...
https://www.statista.com/statistics/606350/battery-grade-lit...
Note, I know raw lithium carbonate is not stuck directly into a battery, just spitballing with the little bit of learning I just did.