The passage states:
He bends his tail like a cedar
That doesn't say that the creature has a tail that looks like a cedar, just that it moves (i.e., sways) like a cedar tree. Elephant and hippo tails are like that.
You are right. That is why I don’t rely on the bible for scientific knowledge. So much of it is written as poetry. For instance, does God have a face or wings? There are people that feel he does. I’ve actually heard part of an old sermon where a preacher took an obscure verse that measured the span of God’s hand, and thereby inferred God was 6 foot 4 tall, or some such. And please, I don’t want to get into that conversation!
Now there are places that hint at science; for instance here, many people think the Bible is describing the water cycle years before scientists truly understood it.
“He draws up the drops of water, which distill as rain to the streams; the clouds pour down their moisture and abundant showers fall on mankind” (Job 36:27-28).
And in many cases thinking men, pondering on verses like this, were inspired to look for the truth. So I guess if you like, you might look at some of these things like a starting hypothesis.