The child has been taken to hospital, while police say the occupants of the car left the scene.