Barack Obama has spent eight years expanding the national security state. He will soon hand its full power to Donald Trump.