A "miracle" eight-year-old boy who was cured of cancer has thanked the doctors who saved his life as he was given the all-clear.