a) for naval, the two weakest units support
b) for ground, the three weakest units support (AA/AT)
c) for air, the three weakest units intercept
Yeah, it doesn't matter if more AA-support units than the mentioned maximum is around. Sure, it's a balance thing maybe.
However, no matter how many more powerful AA-capable units are in support-range, the weakest win what truly sucks³!

As long as this isn't changed, keep this in mind if you play that you should avoid crappy AA-support around your precious units! A mix of light and heavy AA produces exactly the same results that rather the weak heavy AA guns fire on small air targets. Better go with a single air defense type, like 40mm Bofors only, whatever is generally best suitable against expected air targets.
I don't mind so much the limit, but by all means, please the most effective one should support!
It's surely not such an issue for ground as you rarely have more than three AA units around, but rather for naval units where you often have plenty destroyers, and some carriers and maybe a seaplane tender close to each other. If you add speedboats to the mix, you can ruin your AA protection.
Similar for air interception, where interceptors with low AS could bugger up the escort protection if they hang next to bombers together with fighters. Can easily happen during reckless mass ground attacking of the AI.
Naval example: Fubuki (5 vs AS) vs Akizuki (10 vs AS)