'Robot shark' snaps up plastic waste before the tide takes it out to sea