It is more common to have active electronic systems. For example, one such system fires grenade-like projectiles upward that then explode in a downward direction. The timing is accurate enough that the incoming attack is hit by the shrapnel. Another system is more like a shotgun.
The more reasonable comparison is ship-based defense systems. The USA uses the Phalanx CIWS, which fires simple dumb projectiles of the same diameter as those of a typical fighter plane gun. About 100 are fired to destroy an incoming missile.
Adding an AI to a modern fighter makes it an awful lot like a flying Phalanx CIWS. You have a nearly identical gun with a nearly identical radar.
That helps the defender. The faster the missile goes, the harder it gets hit by defensive shrapnel.
Don’t modern missiles use optical target acquisition in the first place?
BTW, tanks have active automatic ballistic defense systems for a while now.