US President-elect Donald Trump tapped Pam Bondi, a staunch ally who helped defend the ex-leader against impeachment, as US attorney general.