President Barack Obama turned up his attacks on Republican presidential nominee Donald Trump, saying Mr. Trump's stances on Muslims and NATO showed he was unqualified to hold the government's highest office and worked in the interest of American enemies.