President Obama says the U.S. will take action against Russia for election hacks.