cannibalised

ˈkanɪb(ə)lʌɪz

verb

use (a machine) as a source of spare parts for another, similar machine.

cannibalizing two broken-down cars might provide spare parts to make one working car