The UK government has unveiled a £15bn (US$21bn) plan to retrofit around 5m homes with low-carbon technologies, including solar panels and heat pumps, while stopping short of banning gas boilers.