Shocking footage has captured the moment beachgoers rallied to rescue a wounded whale which washed ashore at Bondi Beach.