The difference between the top 0.0000001% of humanity and second place is very, very small. Fractions of a watt. Adding just 10W would be game changing, and modern lipos and brushless motors add far, far more power than their weight penalty subtracts.
10W for a sustained time perhaps but these are looong climbs. Col de la Loze is 26.4km with an average gradient of 6.5%.
A 60Wh battery weighs about 300g. That stage is about 5 hours. 300g seems a pretty small price to pay for a 10W boost, especially if you achieve it by making the bike be under the limit and then adding motor+battery (switchable with a dummy weight, of course) to bring it to spec.
(The motor, of course, would probably weigh more - but it remains the case that you can build a bike that weighs under the minimum.)