The Federal Reserve Bank serves as the "lender of last resort" in this country, meaning they stand ready to lend when nobody else will. For this reason, I think the government will give AIG the bridge loan it believes it needs to try and avoid filing bankruptcy.
Keep in mind that this is not a bailout. A bailout is a hand out. A loan is money that needs to be paid back, and in AIG's case, probably within a relatively short amount of time. The Fed should even be able to charge interest on such a loan to make some profit for the taxpayers.
Reasonable minds can argue whether Bear Stearns and Lehman Brothers should have been treated equally or not, but given that AIG is solvent and simply needs a short term loan to sell some of its assets to eager buyers, the Fed should step up and play its role of lender of last resort. With the Dow up now, after being down 175 this morning, it appears Wall Street is pricing in some kind of resolution sooner rather than later. Let's hope so...
Full Disclosure: No position in AIG at the time of writing