The rapid reduction in investment costs has made solar power the cheapest form of new power production many places.