Seemingly inoffensive Chinese devices such as solar inverters and batteries may hide spying devices, a problem for security—and human rights.