The FBI is to investigate Fannie Mae, Freddie Mac, Lehman Brothers Holdings and insurer AIG for potential mortgage fraud.