American military personnel began downloading earlier versions of DeepSeek’s code to their workstations in the autumn of 2024, without initially realizing the connection to Chinese servers.