Batteries are becoming cost-competitive as well.
And as I said earlier, the economics don't need to work now in order to justify pilot programs and research, due to the long timelines involved in radically changing how the grid works. The assumption that the economics will work in the foreseeable future is enough.