How would TSMC know what chip they're making? They're not in the business of reverse-engineering their customers' IP. By the time they get the design, it's not much more than a set of masks. Sure, you can figure out certain incredibly basic things about it, but probably nothing that's a dead giveaway. Given how many chips they make for how many different customers, many of which are not sold to the general public, I don't find this too surprising.
The main way you probably figure out what you're making is if you can require information about their downstream use, and then you actually do your own independent checks to see if the story is plausible and if that's where they ended up going. That costs money and takes personnel.