I used my original AirPods Pro as hearing protection on a table saw. It's not a terribly loud saw and I use thin kerf blades, but it's quite comfortable. At age 36 I can still heard 16-17kHz tones (typically you hear up to 15k by 40), so it seems to be working well enough.
For my giant router I use muffs. The AirPods act funny around stuff that loud, and it stops feeling comfortable.