A nonprofit is retrofitting a life sciences building in Hayward to serve as a manufacturing space for early-stage startups to build battery prototypes.