A 10-year-old boy with leukaemia is going to school and playing rugby matches despite being in hospital thanks to a robot.