The CNC ones last longer, though some argue they may wear the chain out. Never had that problem myself.
I’d personally go with ceramic bearing KCNC. Ceramic to keep the bearings running longer. I’ve had loads of factory plastic jockeys die and the bearings seized up, but not one KCNC has seized at all. That said I have had one where the teeth finally wore away but took a very long time.
Other bonus of the KCNC is they have good vented holes that sheds mud. SRAM jockeys I find attract mud and are a nightmare to clean.
Only thing with the KCNC is they don’t have the floating thingy in one jockey that SRAM does, but as far as I can tell that makes crap all difference.