I've been doing a bit of research about this topic as well recently (due to replacing my anodized and painted aluminum lids on 2 Arowana tanks based on learning from some of Viktor's posts similar to above). Here are a few relevant points I've come across:
-- Aluminum: I've read on multiple sources that aluminum is actually quite stable (e.g. no oxidation) between PH of 4.0-8.0 -- though I've also seen figures of 7.0 and 8.5, so I'm really not sure what the upper limit is. As my water is about 8.0, I just don't want to take a chance with it (nor would I if it were 7.0). Anodization helps prevent oxidation, but it can get scratched, and anywhere it's cut, like on the ends will be exposed aluminum. As such, and as others have advised, imo best to avoid being around your tank.
-- Stainless Steel: While I've always thought of this as being aquarium safe, I'm not so super sure now. ViceGrip makes some good related points, and I also came across one guy on an aqua forum who claimed to be a metal engineer for a ship building company. As with everything take it with a grain of salt, but he stated it drove him crazy that nearly everyone considered SS in their tanks to be safe. His main point was that stainless steel doesn't meant it won't oxidize (rust), it just means it stains 'less' -- and when it does it's 5 times more toxic than other metals (except titanium). He didn't provide further data or advice to suggest how long this process would take, but my takeaway was it's something to consider and worthy of more research if you do have stainless steel in your tanks, esp. for some years.