Texas filed suit against TP-Link accusing the networking firm of deceptive marketing and of enabling the Chinese government to access American consumers' devices, the attorney general said Tuesday.