U.S. President Donald Trump said on Wednesday that other countries will need to take up the fight against Islamic State militants, citing Russia, Pakistan, Iraq and Iran as examples.