Apple bobs yield just ~0.9% or so kore than 10 year treasuries. You have to go for much riskier companies to get significantly above 5%.
Of course if there is a recession, the stock market tanks and most importantly the Fed starts cutting rates you might do quite well (assuming you’re willing to sell those bonds afterwards).