They do lend to other companies - "CRE" Loans.
Worries about repayment of these loans is the main cause of their difficulties.
The smart money sold their units once they found out about the loan book.
What purpose the loans are put to - I don't recall that being stated.