Australia-listed rare earths producer Lynas Corp will shift its headquarters to Malaysia and cut jobs to reduce costs as it looks to lift output of the minerals used in a range of high-tech equipment.