BBC Director-General Tim Davie has left the broadcaster in turmoil after U.S. President Donald Trump threatened legal action.