China and Russia have forged closer ties with Tehran but have shown little willingness to provide military aid in a conflict with the U.S.