Here is a script that you can run in the editor console, and automatically assign a material to a mesh instance slot on several model assets at the same time.
You can rework it a bit to do something similar for your use case to assign the same material in multiple mesh slots: