Amazon secures $8bn term loan in face of ‘uncertain’ climate