President Donald Trump warns Pakistan that Washington will no longer tolerate Pakistan offering "safe havens" to extremists.