A great white shark attacked a man who was spearfishing off the coast of Western Australia on Saturday, and he died from injuries to his legs.