.
/2017/08/very-low-level-air-defence-against.html
/2018/05/summary-modern-air-defences-for-europe.html
One might increase the rate of fire of a MG3 back to about 1,500 rpm and use a duplex cartridge (two bullets in one cartridge) for 3,000 bullets per minute rate of fire, 50 per second.*
All kinds of drones and most missiles would be hit very quickly and be stopped by such a volume of fire even from a single RCWS. The detection of drones might depend on a quickly rotating (~100 revolutions per minute) AESA radar with such lower power and (by radio band) such a high atmospheric attenuation that it senses drones out to no more than 400 m and cannot be triangulated from more than two kilometres away.
S O
* 20 mm autocannons with simple HE-PD rounds would be an option for tanks, I dislike the specialised and expensive 30 mm autocannon with HE-PROX rounds solution. One might also stick with the duplex round MG3 approach as long as the tank has a coax gun of more powerful calibre, ideally a .338 chaingun.
.