The fact the economics of DIY make sense, is the evidence of the market/state failure. (whether they really do make sense without fanciful efficiency calculations, I leave to you).
https://www.investigativeeconomics.org/p/solar-is-only-cheap...
https://www.investigativeeconomics.org/p/solar-is-only-cheap...
(And maybe you can consider this a market failure, in that it doesn't fit some naïve idea of an efficient market, but you're always going to be paying for someone to make and take on the risk of the big, centralised version of things)