How to copy animation attributes to multiple objects?
Link the Animation Data of the active object to the other selected objects via Make Links menu:




Create an Empty (or every other type of object) and animate it (according to the scene)
Select all desired objects and finally the Empty to make it the active object
Press Ctrl+L and select Animation Data



Object visibility animation

Note: Since all those objects now share a single Action datablock you can update the animation on any one of the objects and the change will be shared by all the other objects.  If in the future you need to be able to edit the animation of one without affecting all the others, you can use the N-panel pop-out of the NLA editor, or use the Dope Sheet's Action Editor mode and click the Make Single User button (this will make a copy of the action so it is not shared with the others).