Ssangyong Motor has emerged from bankruptcy protection following the sale of its stake to Indian utility vehicle maker Mahindra & Mahindra.