。
She almost got hit by a car.
Literal
She [topic-は] car [by-に] hit [almost-されそうになった].
はねられそうになった layers three grammar points: はねられる (passive of はねる, to hit/strike), ~そうになる (was about to / almost), creating 'almost got hit.' The そう here is the appearance/likelihood そう, and ~になった marks that the situation actually approached that point. はねる is the standard verb for a vehicle hitting a pedestrian.