Anecdotal.
I've owned a Camry, Miata, Audi A3, all of which had the AC compressor fail at less than 50k miles
Here's my anecdotal evidence. Between these cars owned by myself and family members, none had their AC compressors fail. (This isn't a complete list as some others, I never knew their status). All of these except one were bought as new.
'91 Camry - passed 91K miles, sold in early 2002
'96 Camry - don't remember the mileage but was a low and totaled in early 2008
'02 Nissan Maxima - don't recall mileage but sold in Q1 2006
'04 Nissan 350Z - sold in mid-2011. Don't recall mileage but I'm pretty sure it was past 50K.
'06 Prius - past 81K miles, dad has it now. This has an electric AC compressor.
'07 Altima Hybrid - doesn't have 50K miles but my mom still has it. Electric AC compressor
'13 Leaf - leased for 2 years, returned at end of lease w/under 24K miles. Electric AC compressor
'13 Leaf - built 5/2013, bought used with under 24K miles in July 2015. Still have this car at 65.5K miles. Electric AC Compressor
'19 Bolt - bought end of Jan 2019, doesn't have 5K miles so too new. Electric AC compressor
We also had a '93 Dodge Caravan and an '86 Olds Cutlass Ciera. AC compressors didn't fail on them either. I can't speak to my dad's former '02 Rav4 that he got rid of I think in 2013 or 2014.
As for Audi A3, pretty much any VAG product is pretty suspect when it comes to long-term reliability (vs. most Toyotas and Hondas), so that's no huge surprise.