Why does my coffee creamer have titanium dioxide in it and is it safe?
$\ce{TiO2}$ is is the most widely used white pigment out there, and it is considered to be non toxic. You'll find it used as food coloring commonly in candies, but in this instance  it's in your coconut sweetener. Aside from food, it's used as a primary pigment in paint (the more $\ce{TiO2}$ generally the higher the quality of paint, because it results in higher opacity), solar cells, toothpaste, and as you've mentioned, sunscreen.

The only health concerns I found were from inhalation 


  Titanium dioxide dust, when inhaled, has been classified by the International Agency for Research on Cancer (IARC) as an IARC Group 2B carcinogen, meaning it is possibly carcinogenic to humans. The findings of the IARC are based on the discovery that high concentrations of pigment-grade (powdered) and ultrafine titanium dioxide dust caused respiratory tract cancer in rats exposed by inhalation and intratracheal instillation. The series of biological events or steps that produce the rat lung cancers have also been seen in people working in dusty environments. Therefore, the observations of cancer in animals were considered, by IARC, as relevant to people doing jobs with exposures to titanium dioxide dust.