Maybe a spike on one side of the drone, and it flies into the target. Or a spike shoots out one side, along with a counterweight motion, and then retracts.
Edit: on second thought, it’s likely less practical to impale the things than to inject a small dose of poison or electrocute them or something, and it’s probably easier to use a ground-based robot for such precision tasks, with less energy and mass constraints.