iFixit shows you can drill a key ring hole in an AirTag without breaking it
At your own risk
Repairing a faulty gadget no longer requires a PhD in electrical engineering with sites like iFixit providing tutorials that empower people to repair things on their own. After all, if your device is no longer under warranty and the only option is to buy a replacement, what's the harm in trying? Complexity, that's what.