After all, if the highest demand is between 16:30 and 19:00 you could use batteries to store power at 12:00 and sell it at 18:00 - or in famously sunny Australia you could build enough solar panels that solar output at 18:00 matches power demand.
If batteries have a solid 9% return on investment, but solar panels have an even better 12% return on investment, panels will outpace batteries even though the batteries are a decent investment.
(Also, from a politican's perspective, making batteries highly economical is how you get batteries built. And an awful lot of pro-environment policies involve raising taxes, banning things and creating new chores; it's nice to have some green policy announcements that actually benefit voters in the short term.)