Interesting, I work in commercial real estate and my experience is quite the contrary. Solar panels and their energy savings have been shown to attract tenants, drive rents and make assets more liquid. We take into account capex, opex and valuations of course.
Obviously not going to work in every scenario.