IR and microwave wavelengths are nowhere even close to each other.
The grill in my microwave door lets through visible light. And the electronics already present in my microwave seem just fine.
https://youtu.be/mg79n_ndR68?si=F5RTVUWdxglMFm7X