TCAS (the family of systems aircraft use to avoid hitting other aircraft) is much simpler and doesn't rely as heavily on GPS/INS data, but generally only gives data on cooperative aircraft transmitting transponder or ADS-B data. A very simple version gives a traffic alert when another aircraft approaches within a specified distance of you, but may not give any other useful information (relative altitude/position, heading, etc.), and the most basic version I can think of just gives a range to a single cooperative aircraft.
I think you'll find that you're off by a few orders of magnitude on the number of submarine navigators out there, and there are few enough certified avionics systems that most are used by a substantial enough audience (and, more importantly, mandated by enough national aviation authorities) to be worth the R&D effort.
That said, military hardware is often decades behind the civilian world when it comes to many of these mandated safety features, so I don't find it surprising that military ships (often with proprietary radar and sonar systems designed primarily for combat, and not wanting to broadcast their location to potential adversaries) don't have good integration with commercial collision avoidance software designed to work in a collaborative environment with off-the-shelf hardware that may have only been installed as an afterthought, if at all.