Pretty sure several of the guys in gorilla suits did this in their heyday. Probably some who appeared in Abbott and Costello films and Three Stooges films...not sure of which now though of the top of my head.
I'm pretty sure the Stooges short
Idle Roomers has footage of 'Lupe the Wolf Man' shaking the bars on his cage.