It's a stated tenet of most justice systems, but in the US even the justice system is politicized (elected public prosecutors?!), and everything politics touches becomes politics.
And the President is elected every 4 years, and he is right at the center of political life in US. If the presidents wants to be elected again, we shouldn't be surprised if FBI and other parts of the executive branch are used to improve such odds. I would be more surprised perhaps if they are not used.