You are unnecessarily worrying about this. If it was a MacBook, I’d say be worried. They don’t have enough mass to be damaged. Unless the AirPods were physically crushed, it’s fine. You could beat that box with a baseball bat then throw it out of a moving car at 75 mph and they would still be fine.