Wall Street has ended lower, pulled down by Alphabet and Amazon, as Treasury yields climbed and Iran's ‌president said the country would never surrender to US pressure.