It would be pretty interesting if it turned out that TiO2 added to food as a white colorant were responsible for the obesity pandemic --- the epidemiological correlations are about right --- but so far the evidence that it has any kind of harmful effect at all is fairly weak.
Shards of glass are commonly used as a mild abrasive in toothpaste, an inert excipient in pill formulations, and a gas reducing agent in simethicone; they go by the name "amorphous silica" or "silica gel". They're also added to grains as an insecticide in the form of diatomaceous earth. It's commonly accepted by people who study this stuff that they are absolutely harmless to humans at that size.