That's a bunch of hogwash as far as I'm concerned. My compressor is full all the time and when I'm working on a vehicle I almost always have a die grinder, air ratchet, air impact and cordless driver/impact close at all times. Of course, I'm not one of those that think an air hose is so horribly cumbersome.
Air is hideously inconvenient IF you don't own an air setup, and a good air setup. Now if you have air, air is inherently cheaper as the tools last longer, no batteries which are a long term consumable, etc. Air is typically smaller, the little hose on a swivel isn't awful to work around. Cordless is way heavier when you're talking bigger impacts as well, since you have a battery the size of a hamburger on the bottom.
It's all about framing of the situation. Guys go round and round "why even have air, 2967 M18 exists!". Well, running shop line pressure I don't pay to produce, I can buy an impact with similar power. I can dump an air impact in coolant, oil, run so much water in the air it just pumps out the exhaust, and never need to buy batteries. But when somebody drives on a loose ball joint until it goes POP, the M18 is much better 100ft from the nearest air line. To the point the air tools are worthless, I don't have air in the parking lot where the tow truck dumped it. The 2967 pressed the ball joint just fine despite being heavier and more awkward than my Astro thor.
For cordless, the electric ratchets are probably where it's most competitive against air. The impacts, especially larger ones, are just apples and oranges to how they hit, apply the twisting force, etc. The cordless are a bit bulkier, but battery life is pretty good IMO. I like cordless because I can have short and long neck, 3/8 and 1/4, four different powered ratchets on one job with no air line to switch.