The great white shark could have helped push the megalodon to extinction through a battle for food.