The Nimitz-class aircraft carriers were the largest warships ever built until the commissioning of USS Gerald R Ford in 2017.