The company may sell parts of its space business as it struggles to meet its end of a $4.3 billion contract with NASA.