France and Malaysia deepen ties with deals on defence rare earths technology energy and digital infrastructure projects.