The Canadian government has threatened legal action against global car giant Stellantis over its plans to move production of the Jeep Compass to the US.