And buying doesn't guarantee keeping production - but since since each subcontractor was chosen on lowest cost and has to absorb all costs, it is logical moving any production will lead to both delays and higher cost per aircraft as the disruption and retooling costs by the manufacturer are absorbed by the program.
Moving production would be one of those cut off your nose to spite your face moves.