Metadata is typically only a few kilobytes. It's doubtful removing it would really assist in lowering a files overall data footprint if that's a problem. AI files aren't like pngs for the web where 4k makes a difference.
In addition, most ai file metadata is really only file resources, creator, low resolution thumbnails for previews, etc. And 99% of it can't really be deleted if it's to be a viable AI file.
The exception, of course, is if you've intentionally inserted more metadata than defaults.
You can check the metadata via
File > File Info with the file open. I think in most instances you'll find it largely blank for straight AI files. If there are placed/embedded raster images, there may be some additional metadata due to those images.
You can walk though the File Info dialog and delete what you don't want using the little trash icon in the upper right. But you might want to merely open the File Info dialog and export the metadata. That will create a file and typically checking it's size, it's often under 1k here. Which doesn't seem worth the trouble of deleting anything. Of course, your file(s) may be vastly different than mine.
Offhand, I am not familiar with a way to merely "strip" metadata from AI files en masse. But there may be a script somewhere for it.