they are the same shape and sizes, by ANSI standards, and always will be
the reason for the multitude of sizes and volumes is because the original design of these cells are based on certain commercial demands in which they can suffice in a limited space set aside from the product designer of that particular product.
If you will notice the known and familiar 18650 LiCoO2 lithium secondary cell many of us like to use in our flashlights. 18650 was originally developed for the laptop battery industry and later integrated as the mainstream laptop batteries. Only a handful of notebooks, like my Thinkpad X32 uses the smaller 17670s.
Overtime of course, there are a few variations that are weeded out in the development of new cells either because of performance issues or simply failed the cost analysis of the producers. But the main dimensions still exist 10440, 14500, 16340, 17500, 17670, 18500, 18650, etc.
On the forum we have the ability to try out lithium secondaries in lights that otherwise would only accept primaries in the face of general consumers. Different batteries are made for different purposes, so of course they wouldn't be exactly the same. .
Flat top and button top differences only exist that button tops by design may be singularly installed or operated while flat top batteries are designed to be built into packs, or arrays, in a specified series parallel [or just series] configuration.
Am I helping you any or am I going way off on a tangent here...could you make your question clearer as in using definite objects of comparison?
Primaries meant any single use batteries, whether it be LiFeS2 [Energizer lithium], LiMnO2[CR123A] or 2MnO2[Alkaline].
rechargeables that match these
in terms of dimension could refer to [LiCoO2] 14500 (Lithium-ion AA), 16340 (RCR123A), 17670 (2xCR123A)