Malaysia is open to foreign companies establishing joint ventures with local firms to develop rare earths in the country, state media reported on Wednesday, citing the trade minister.