Uber famously did this with a safety fee when there was a string of negative news reports. What did this fee do? Literally nothing. They just pocketed it.
Airbnb is an obvious one of course.
Whenever I see anything like lack of transparent pricing and the necessary for such legislation, I have to chuckle at the expense of anarchists and libertarians because a strong government is necessary for any market to function. How are there any anarchists or libertarians at all?