Donald Trump took a major swipe at former President Barack Obama ahead of his inauguration on January 20.