Gibson have been in serious financial trouble for quite a while.
It's possible - even likely - the company will be unable to repay its creditors on time next year and, as you've said, Gibson Brand's credit rating is poor so borrowing more to tide them over may not be possible.
Gibson Brands may well be heading for bankruptcy. What happens then will depend on whether a reduced Gibson operation can trade out of difficulties and/or who might be interested in picking up bits of the company at bankruptcy sales prices. I suspect guitars with the Gibson name on them may well survive, as might some of the companies currently owned by Gibson. Just not under the current management. Which some might regard as not a bad thing.
Parts of the guitar/musical instrument/hardware industry has been facing hard times generally for a while now. Which probably explains Gibson Brands' purchase of consumer electronics companies like Onkyo and Royal Philips in the hope of diversifying.
As far as Cakewalk is concerned, Roland were in considerable financial trouble when they sold Cakewalk to Gibson. Being acquired by Gibson almost certainly granted Cakewalk several years they wouldn't have had if Roland hadn't been able to sell the company.