The company was hoping to build a new £3.8bn battery factory in the Port of Blyth in Northumberland.