Donald Trump has fired Pam Bondi as his attorney general after a tumultuous tenure at the Department of Justice.