Investor Bill Ackman could have made close to $1 billion from his investments in mortgage giants Fannie Mae and Freddie Mac.