It's only government bonds that go negative. Corporate bonds will always provide a positive yield.
[0] https://markets.businessinsider.com/bonds/apple_incsf-notes_...
https://www.barrons.com/articles/yields-go-negative-on-corpo...
Bottom line is that if there are still positive yielding bonds in a market dominated by negatives (we're not yet there) the risk of default is priced in.