If you’re a taxi driver you have a duty of care not to dump your passengers on the side of a freeway where pedestrians aren’t allowed. Same with a railroad crossing
The “facts” of this event are highly contested and not at all clear. I’m not saying what I typed above is what happened, but it’s just as likely as the other scenarios presented. The linked PDF acknowledges this and presents a few of the conflicting statements made by the surviving passenger and the driver.