The driver was reportedly treated at the scene by passers-by before being taken to hospital