Shadow Chancellor John McDonnell has unveiled a new plan to put power in the hands of local people and revive “left-behind” towns.