The estimated rate of dust accumulation on the Moon is around 15cm/billion years. So the footprints and other traces would disappear at some point between 10 and 100 million years.
It's really hard to estimate how long the hardware might last. Obviously there's no air or water, but there will be damage from radiation, temperature cycling, and micrometeorite abrasion.
A wild guess would be a similar timescale - max 100 million years, at which point there will be small anomalous piles of metal dust left, but no visible structure.
(But that's just a guess, and could be way out.)