A teenage boy riding an e-scooter has been taken to hospital with serious injuries after being involved in a crash.