Trade secrets are a type of IP.
Also, more seriously, there are plenty of pieces of information that are compelled to be published that don't lose their confidentiality. There actually is a general concept that confidentiality can be lost if you are negligent in its protection but it's a very nuanced thing.
But you can do an analysis of a bottle of Coke to figure out exactly what’s in it.
You can even make your own and sell it, if you call it a different name.