The US president threatened the BBC with a billion-dollar lawsuit over an edit of of one of his speeches which featured in a Panorama episode.