What this really needs is UV lights in front of the filters, although I can't find any suitable products.
One of my cars had an unidentified gag-inducing smell for months, before we finally found the culprit: a half-full latte that had dumped under the seat (milk + Texas heat, omg). No amount of cleaning would eradicate the smell...until I got this:
High Capacity Commercial Ozone Generator - Amazon
It took two days of soaking in ozone, but the smell is finally gone. So if your funk is regularly reoccurring, I would recommend a heavy-duty ozone generator like the above, with the climate recirculating. Since it gets into all the nooks and crannies, it should at least extend the time between cleanings.
NOTE: ozone is great in the stratosphere, but poisonous to inhale. If you do this, make sure the car has been completely ventilated before entering!
Higher end car detailers will also use ozone generators when detailing the inside of a car to help remove odors. Other than chemically induced odors (think of perfumes and chemicals like ammonia) the primary cause of foul odors is biological. Fungi, bacteria, etc. release the pungent odors into your car's atmosphere. Destroy the organism causing the stink, destroy the stink.
I worked at a high volume car detailer that prepped used cars for dealer's lots when I was in high school, then continued to do part time high end detailing until just a few years ago when my spine gave out on me. We would use ozone generators to great effect in removing the stink from cars.
Here's how to clean your vehicles carpets, and keep them fresh smelling afterward.... Have you ever gone to a high volume "car detailing" place, had them clean your carpets, only to have them start to stink in a few days? The secret is in the drying, or the lack thereof; the longer it takes carpets to dry out, the more time organisms have to breed and stink up your freshly cleaned carpets. At the detailing shop, we'd pull the carpets completely out of the vehicle, then use a commercial carpet extractor to deep clean them. This process left the carpets quite wet. We'd put them in front of commercial air movers to dry them, then install them back in the vehicle. At this point, we'd put an ozone generator in the car, roll up the windows, put a "Caution - Ozone Generator in Use" sign on a window, and let the car soak in ozone for 30 minutes. This process basically sterilizes your carpets, preventing them from developing any "drying stink." This same process works great for cleaning your home carpets, too, but as CyberGus states, make sure that you remove any people and pets from the area that is going to get treated, and thoroughly vent the area before re-occupying it.
If you get a small ozone generator, you can let it saturate your car's interior after your carpets have been cleaned from your local high volume car detailer and completely remove any carpet funk.
I love the idea of using UV-C lights to help with the Tesla AC stink. Has Tesla been able to identify the exact area in the system where the stinky stuff grows? I'd like to find this out, then buy some plastic strip UV-C LED's and 3M double sided tape them into position. The power wires would also need to be taped into the ducting to prevent rattling. Wire them up to a cigarette lighter.... er.. excuse me... 12v power port plug and see what happens. The hardest part about this is going to be finding actual, authentic UV-C lights. Many/most of the LED's that are supposed to be UV-C available on the market aren't actually UV-C. I'm sure bigclive on YouTube will have some ideas.
If anyone else decides to do this, please be aware of the fact that UV-C light is no joke. It'll give you "welders eye" very quickly, and it'll also burn skin. This isn't tanning bed type light (UV-A/B), this is the nasty stuff that the ozone layer in the atmosphere keeps away from the earth's surface, and it'll kill pretty much all living things quickly. Don't expose your eyes or skin to the light given off from a UV-C source.
Sorry for the wall of text... the home roasted coffee has been very good to me so far today.