At least the HMS Dreadnought rammed a u-boat in WWI.
BTB, with the Washington Naval Treaty of 1922, the Japanese got really good at torpedo warfare to give the edge in ship to ship combat...which also led to them designing really good torpedoes for both subs and aircraft...
Google USS Alaska and USS Guam. Battlecruisers in all but name.