Can wine be made from all edible fruits? I am an amateur in the topic, so I was wondering, can all edible fruits be turned into a fruit wine? Why have grapes historically become the main fruit for wine making over other fruits?
Yes, wine can pretty much be made from all edible fruit, including tomatoes. But the reason we make wine out of grapes is three fold. Sugar, tannins and acids. 


Sugar. Grapes produce the highest naturally occurring amount of sugar of any fruit. Almost no other fruit comes close. Grapes have the ability to make wines that are anywhere from 10-18% alcohol and even higher in the case of late harvest grapes that have too much sugar to finish alcohol production. 
Acid. Grapes have a very high naturally occurring acid levels coming from Tartaric acid. Acids help preserve wine and keep the nasty bugs from eating the sugar. They also make it more drinkable. Wine without any acid is flat and awful. It's like beer without hops.
Tannin. Red and white grapes contain tannin in both the skins and seeds. These are a natural antioxidant that help preserve the wine for long term storage. 


Since grapes have such natural high sugar levels, they also have large colonies of yeast on the skin (aka the bloom) and because of this, grapes are a complete package requiring nothing else to make a high alcohol beverage that can be stored for a very long time without spoiling. No other fruit has the right combination of attributes to do this on it's own.