A robot that surfs on the waves is being used by US scientists to track the movements of great white sharks.