The FBI is technically part of an "elected" branch, but it's nonetheless a semi-autonomous agency not directly accountable to the people who voted for the President. Even the President could be investigated by the FBI. We just have to trust that good people were appointed to this agency, and be ready to fight them in court when not-so-good people make bad decisions.