Wayleaves and easements are the legal agreements which allow electricity lines to stand on and pass over private land.
More details can be found on the National Grid website.