They can, especially in humid or coastal climates without proper coatings. Most modern metal buildings use galvanized steel or protective coatings designed to resist rust for decades.