The car manufacturer has signed a deal to directly supply renewable energy to its manufacturing headquarters in Crewe.