IF France wants to regulate these platforms, such as force them to have a min % of full time drivers, min fares, etc., then that could be reasonable, especially as a transitional strategy. But an outright ban is an extremist stance against liberty and progress, and the welfare of most people, including future drivers that in the long run would be better off, able to essentially work for themselves or at least have multiple platforms competing for their services.
I can see no need of a minimum number of full-time drivers or minimum fares. Those aren't things the government should be regulating.
The government has a legitimate say in the qualifications of the drivers--generally you need a higher class of license in order to take passengers for pay but that's about it.