A top U.S. federal prosecutor whose office has been investigating President Donald Trump's personal lawyer, Rudolph Giuliani, refused to step down after the administration abruptly said it was replacing him.