No it's not a wind up. Sticking a dynamo on an electric bike is one of the most ludicrous things I've heard, but there's plenty of them. I gasp in incredulity every time I see one.
Yes I can see the irony in it but there is another consideration. Security. & Safety.
In the old days of expensive ever ready batteries and lamps and vigilant police, the built in dynamo on the more expensive bikes gave a reassurance that there would be lighting. I would have put a bottle dynamo on every bike I owned, just so I would not be caught out.
With a large battery pack, wiring in a lamp from the pack seems a given, however as the bulbs or leds operate at around 3v and the pack is at 36v , either a DC to DC convertor or a wasteful dropper resistor is needed.
A hub dynamo is very much a set and forget option. , And while expensive it does not absorb much power probably 6w when operational and nothing when off.
Charging another two batterys particularly when they last a long time is more of a forget option
The Bosch system presumably includes a DC DC convertor because it can charge the display panel and also run lights. However on the Raleigh's they have opted to include hub dynamos with some energy storage instead so that the lights remain on for a few minutes after the wheel stops.