Somerset Council has confirmed that it has “agreed in principle” to borrow £150 million towards the delivery of the gigafactory near Bridgwater.