My Airpods also caused me lose wifi connectivity on my Macbook when using 2.4Ghz wifi (802.11n to an old Buffalo WZR-HP-AG300H/WZR-600DHP running OpenWRT [1]). The issue only happened when using the airpods, and only when using the 2.4Ghz network. Switching to 5ghz solved the issue, and I've since switched to wired.
I was kind of stunned that Apple's own wifi was incompatible with Apple's own bluetooth.
[1] while I'm at it, anyone have a recommendation for a modern access point that can run OpenWRT with Wifi 5 (ac) or Wifi 6 (ax)?