They are shaped that way because the salmon is placed (with water) into the cans raw, then they are heat processed and sealed. The shape of the can helps to keep it from deforming as the temp/pressure drops inside as it cools. This is also the reason that sardine tins are shaped the way they are.
Wild salmon like sockeye and pinks are seasonal fish that are only harvested and processed for a couple of months a year at any one location. Processing plants do not manufacture cans onsite; it is cheaper to ship them in for the short packing season than invest in can manufacturing machines that are only used for a short time. The cans are tapered so they will fit inside each other when shipped empty from the manufacturing plant to the many local packing plants. This takes up much less volume than untapered cans.
Generally speaking (and aside from obvious exceptions, like pop) you can assume that anything sold in a can is cooked. The cooking kills any bacteria present, and the sealed can stops any more getting in.
All salmon cans are tapered here in Australia too, but not so for tuna or other canned fish. I always thought it was because the salmon was put into the can as a whole fillet of fish…IOW, the spine was in the middle and the fillet filled out the can. With tuna et al, it’s just put in as flakes, so no tapering was necessary.
The salmon cans I’m talking about are only about two inches tall though, twice that of a tuna can, and also just flaked or chuncked: not the whole salmon.
Fear Itself makes a good point, but I don’t imagine most places that do canning have their own on-site can manufacturing facility. Surely the vast majority of cans are manufactured off-site and shipped, and they’re not tapered.
And if tuna is also heated in the can then why aren’t those cans tapered too? Voila!