The same as it's done in every EV. The individual battery cells are charged in parallel to achieve the high rate of charge and the battery pack temperature is managed to ensure optimal battery performance:
Porsche's been making a particular point of the Taycan's temperature management. The goal is to be able to drive it like a sports car without overheating it. They talk about the Taycan offering "reproducible performance".
Teslas have a history of overheating when you try to drive them like sports cars: