As I pointed out in another thread, AIG's assets have not had losses and the relevant regulations have not been dismantled over the years. (In fact, AIG had to register as a bank because of new regulations.)
What happened to AIG is that the mark-to-market for those assets, which are behaving exactly as predicted, went away. (AIG's portfolios are not taking a foreclosure hit because they cherry-picked.) That took AIG's credit rating down and then the covenants kicked in, requiring AIG to pay money that it didn't have.