A Chinese company allegedly intentionally infected its devices with malware and later sold access to a botnet to criminals.