Apple has taken down an app that uses crowdsourcing to flag sightings of U.S. immigration agents after coming under pressure from the Trump administration.