The cost of protecting Oracle Corp.’s debt against default rose on Friday, after surging by the most since 2021 on Thursday, as jittery investors and lenders rush to hedge against the billions of dollars the software giant is pouring into artificial intelligence.

