A lorry rolled out into a busy road without its driver, narrowly avoiding a collision with oncoming traffic.