Both companies — wards of the federal government since the fall of 2008 — have benefitted from record originations, which in turn have juiced secondary market transactions, and subsequently their profits.