While the machinery may be functionally dissimilar, the family of parts produced contains similar processing requirements or has geometric similarities.
The electric potential outside each material is controlled by its work function, and so dissimilar metals can show an electric potential difference even at equilibrium.