Submarines are hardly a modern day invention. It dates back to the Holy Roman Emperor times. The first submersibles was built in 1620 by Cornelius Drebbel, oars being used to drive the machine.
The modern submarines are not only used for military purposes, but have unfortunately, become luxury that only a few can afford. Here is the list of most expensive submarines.