Microsoft are looking at putting datacenters under the ocean, which sounds like a really good idea to cool them but I can’t help but think a couple decades from now it’s going to start causing us problems
The actual computer parts wouldn't necessarily be corroded though, I would assume the hull itsself would be designed to last longer than the computer components themselves