TVA's chief executive is leaving amid pressure from President Trump over his salary and coal-fired energy.