It depends the material. At time spans of millions of years, half lives of common elements can become important and this is a nuclear reaction, not a chemical or mechanical one and so progresses even if the metalmaterial is otherwise chemically protected or non-reactive and mechanically protected.
This is part of the reason you can't just freeze a person in cryostasis indefinitely even if it somehow stops aging 100% because without biological functions and nutrients to cycle through and repair the body, the elements that constitute the body decay into other elements over a long enough period of time. The more something relies on things being exactly the element it is supposed to be, the more sensitive it will be to these changes.