The UK will need to build more pylons, including in areas where people do not want them, communities have been warned.