The FBI has quietly built a full-scale replica of an American small town, to train law enforcement agents in responding to real-world cyberattacks.