The United States has carried out airstrikes against Islamic State targets in northwest Nigeria, according to President Donald Trump, who accused the group of attacking Christians in the region.