Sadly this is one of the more severe forms of neurological damage seen in Hybrids, its incredibly stressful for the hamster as it is not physically able to stop or control it's actions (it is a form of obsessive compulsive disorder).
I know some people see it as 'cute' but I struggle to watch videos of hybrids suffering from obsessive behaviour as I myself have OCD and it is the most distressing form of anxiety as you have no choice in your actions and trying to resist them results in incredibly high feelings of anxiety, panic attacks and the feeling that you are going to physically die. Sadly as hams have a lower cognitive ability than humans they can't even make the decision not to carry out a compulsion. To put it another way, imagine if you were walking along the street one day and suddenly back-flipped without wanting too, and then did it again and again every single day of your life so that you were unable to function properly and you would be exhausted and still back-flipping. That is the easiest way to explain what these hammies go through
Being humanely euthanized is often the kindest thing to do for hamsters who have severe compulsions, those who only perform the compulsions in stressful situations or once or twice a week can usually live perfectly normal lives they just need extra special care
I hope whoever homes that hammie understands the importance of their role in that hamsters future, sadly there still aren't that many people aware that these behaviours are a problem and often the hammie will never see a vet for the condition as the owner believes it to be just a quirky part of their personality