What can be done if a corporation can not pay the balloon payment when the loan is due?

If it cannot get the loan refinanced, then the lender could file a lawsuit and/or (if secured by collateral) take the collateral.