Japan is defending its rare earth industry from foreign takeovers