The FBI is issuing a warning to Americans after agents discovered a cyberattack allegedly tied to Chinese hackers involving text messages.