All of these weapons fire a 1-2 second burst to make sure they hit the target. Don’t forget that the drones are moving, there’s wind, etc…
Modern CIWS will use radar to track their own outbound bullets and adjust their aim in real time to hit the target.
Also, I don't think you need 30 mm bullets to take out a drone. Those bullets are for much more hardened targets.