They give extra cooling to the radiators. They use the same setup as most Porsches. Radiators in the front (corners of the front bumper) and engine in the back
F1 and other formula don't always have fans on their radiators, and rely solely on forward motion to remove the heat.
The fans help keep the engine cool during pit stops, but may also help during the race by not needing such large downforce disturbing ducts to force the air through.
That's from the display car that's used at various PR events to provide additional cooling due to the slower speeds. The 'proper' race cars don't have those fans fitted at race weekends.