Turkey is running out of time to avert a showdown with the United States over its plans to buy advanced Russian air defenses and spurn a counter-offer from its NATO partner, raising the chance of US sanctions against Ankara.