China has put in arbitrary detention at least 17 Japanese, and many other foreigners, since it enacted a counterespionage law in 2014.