A teenage boy has been rushed to hospital with serious injuries after falling while train surfing in Sydney's west.