It requires a lot of energy though to clean and melt. This recycling aluminum is not exactly green.
...the same is true for the container companies! The want to stand out from their competition - so they introduce new products (containers) with new shapes or sizes for that purpose.
While I am certain that some product manufacturers can dictate or have custom-shaped containers for their brand only, for many they just choose an off-the-shelf version and brand using labeling and/or color.
So - while going with standard-sized containers would be great for a whole host of reasons, for the product manufacturers - both for what is being contained, and the containers themselves - it presents a huge loss of profit and market share.
I'm not sure what we can do about this; it seems like something that would have to be dictated by government, because I doubt any of the other stakeholders (not even the consumers) will sway the decision toward standardized containers.
Soda cans (and for that matter, soup cans) are almost the only examples we have (ok - plastic milk jugs and paper milk cartons?), but as you have noticed, that's starting to fragment (it had already started with beer cans long before).
And the Coke was just one example. A Google search for "iconic packaging" [0] will give you a lot of other examples of packaging so recognizable and unique that you can identify the product just by glancing at the shape.
Soda supplied to bars and restaurants in Denmark is usually in returnable bottles, including Fanta and Sprite (which elsewhere have shaped bottles). Coca Cola has a shape, but perhaps they sell enough to make it worthwhile to sort these from the usual shape.
https://www.bevco.dk/vand-og-mixer/sodavand/filter/flaske_ty...
(I drink close to zero soda at home. I know supermarkets sell cans and plastic bottles, both single-use but with a deposit. Possibly they sell the glass ones too. Most Danish beer is sold in a reusable bottle, foreign or microbrew beer just has a deposit but the bottle isn't reused.)