A whale has breached the ocean in spectacular fashion as surfers competed in the Olympic competition in Tahiti.