A multi-million-pound renovation of a derelict mill has transformed the building into a digital, science, and health training hub.