When an airline retires an aircraft from its fleet, it is not always the end for the plane.