I'm always puzzled when people say that. When you buy small electric gadgets that come with USB-C, almost all of those bundled cables come without data transfer support.
I think this is only true for charging cables that are USB-A to USB-C. I have some of those lying around, also from cheap gadgets. But I would not recommend using them for data transfers anyway.