A car driver was just feet away from being crushed by an engine that fell out of the side of a trailer as the truck turned a corner.