Project has become battleground between oil industry and environmental campaigners who argue pipeline would accelerate global warming