My Dell laptop constantly used to tell me I was using a non-Dell battery (falsely). So I think there are probably quite a few instances of electronics having ways of detecting aftermarket parts, and there might well be automotive examples. I suspect printers that detect authentic ink cartridges exist. Wouldn't bet that it hasn't been done in the automotive realm.