Local communities should ‘share the benefits’ of taking on the burden of power infrastructure, housing minister says