The statement marked a sea change for the alliance, which until 2019 had never officially mentioned China as a concern.