The FBI has confirmed that it remotely reset thousands of Wi-Fi routers across the region in an security move.