You may find value in this Mac app that disables the microphone input channel on AirPods as part of pairing them, which should in theory permanently resolve your issue:
https://c-command.com/toothfairy/
(Note that I neither know how they’re doing it nor have I tried to reverse engineer it. Works well for me in non-VMWare scenarios!)