I think “anytime electricity” is a noun phrase, and the rest is just the usual headline shortening. So something like this:
(Analysis finds ((anytime electricity) from solar) available) (as (battery costs) plummet)
In the unsuccessful parse, “anytime“ introduces a relative clause.
(Analysis finds [that] (anytime ((electricity from solar) [is] available))) ???