1. A machine to melt the glue holding the battery in place
2. A machine to apply even pressure to the new battery to ensure it’s properly adhered
3. A machine to apply heat and even pressure to the entire phone to properly give the phone with a watertight seal.
That seems like exactly what I’d expect has to happen to repair the phone back to original spec. I’m actually impressed that Apple gives this out to consumers to use.