President Donald Trump is contemplating taking mortgage giants Fannie Mae and Freddie Mac public, potentially ending their government conservatorship.