Actually no it is not as fragile as one may think and product stored in it has a twice as long shelf life as products in plastic.It also leaches no chemicals into the food that is storeed in it unlike plastic does.
Uh, I've used glass, as has, I would guess, everyone on this forum. It's a LOT more fragile than plastic, given the same usage. It "is" useful for specific tasks, your point about shelf life is correct. But new ways of using plastic (multi-layers of different plastics) are shrinking that advantage quickly.
"It also leaches no chemicals into the food that is stored in it unlike plastic does."
I can guarantee you that glass does "leach chemicals" into what is stored in it. They're just different chemicals. Ask any chemist who does trace analysis, and they'll tell you the same thing (FWIW, I "am" a chemist). And the same multi-layer technology can reduce (or eliminate) the migration from plastics into the stored product.
But the probable killer is that fabricating glass requires HUGELY more energy than does plastic.