The FBI can investigate foreigners as they "coordinates meetings with international leaders and keeps in close contact with other federal agencies, foreign police, and security officers in Washington, D.C., and national and international law enforcement associations."
https://www.fbi.gov/contact-us/international-offices