AIG reported a surge in profit, helped by sale of investments as well as improved underwriting in commercial property-casualty and mortgage guaranty businesses.