It probably didn’t borrow anything. I bought Ovid’s Metamorphoses for the purpose of researching this very subject (it’s sitting on my shelf as I type this). The supposed parallels between Christianity and the mystery religions are not close to being parallels. The idea that the Crucifixion of Christ is somehow a parallel to a eunuch vegetation God like Attis is beyond the level of laughable.
Dionysus is also a god that supposedly shares parallels to Christ because Dionysus was the god of wine. However, his behaviour couldn’t be more dissimilar to Christ’s. Dionysus, for instance, often drove people to madness. One story has Dionysus driving a farmer mad, causing the farmer to murder his own son (while in the state of madness). The supposed parallel where Dionysus’ uses wine involves him turning the sails of a ship into giant vines, thereby causing the boat to overflow with wine. The sailors, who wanted to rape him, jumped into the sea and Dionysus turned both of them into dolphins.
I could go on and on. Suffice to say that the difference is night and day. Christianity was opposed to these mystery religions-- it hardly borrowed from them.