Nothing is really known about the ultimate origin of the word elephant.
The origin of ostracize has, unfortunately, nothing to do with ostriches.