Proximity to the sea does shorten the lifetime of electronics. Salt deposition is a way worst problem than humidity.
There are ways to protect against that. And actively cooled equipment (like computers) get way worse problems than stuff with no air circulation.