Boeing said on Friday the head of the company's troubled defence, space and security unit is leaving the planemaker effective immediately.