Zero COVID prevented the virus from becoming endemic in China (look up the definition of endemic). Once it does, you’re right that it seems like putting the genie back in the bottle is impossible - once COVID has spread to wildlife like deer and cats it seems hard to imagine a method of wiping it out within that country’s borders.
We know several other countries with less strict policies than China maintained zero COVID for quite some time, or states within those countries (Australia for instance had COVID outbreaks they successfully confined to one or two states). Once delta hit, it became too difficult for those countries to continue, but we can see China is more authoritarian and their stricter measures may still be effective for now.