Actually, I think that one at least has some history to it.
The disk drive was one of the first ways to store information between computer sessions as the first computers didn't have built in storage. You would create a program, run it, and then when you shut the computer off it was gone. Since the disk drive was used to store programs for later, or "save" them, the icon was born from the physical object.
Sharing, conversely, doesn't really have a real world example to base the icon on. Maybe two hands exchanging things? Perhaps two arrows to illustrate the ability for things to go both ways? Maybe a set of interconnected dots to show the connection between things? Any of them could work, so the iconography is less clear.
I think it's meant to show how one becomes two. One person shares... something, and then that something has doubled. I'm just used to it by now. Never really had to give it thought.
As an Android user why does an arrow out of a square signify sharing something? (Also why is the apple share menu used for so much besides sharing things)
Three dots being connected makes sense though it isn't intuitive.
The first time I saw the square with an arrow I thought it was to spit the screen vertically or to connect to a projector.
I see the Apple one as just showing that a menu will come up, it's just visually showing what will happen when it's pressed, and that happens to be the share menu.