The dockless scooter companies should negotiate (and pay a daily fee to) the cities to convert say every 100th car parking spot into a dedicated spot to park your scooter/bike.
I think this would be fair as one existing car parking spot could serve 10-20 dockeless scooters/bikes [1]. And it would require no effort other than repainting the parking spots and the city revenue (i.e $20 per day per spot) would be about the same if not slightly more.
[1] https://www.citylab.com/transportation/2017/06/bike-share-do...
[additional edit] Or alternatively, the city could just mark/paint out dedicated spots on the existing sidewalk that are currently underutilized (i.e. out of the way of existing pedestrian traffic) and that ends up leading to more city revenue in addition to car parking.