That's a bizarre rule. What was their justification?
Edit: apparently due to safety concerns about their batteries. IMO they shouldn't allow importing/selling them if the batteries are unsafe.
Boomers legislating away a method of transportation they have no use for, combined with a few people using it with little regard or civility, and rental operators so focused on competition that they're unwilling to enforce the rules.
But really, mostly it's the first of the three factors. Thank god they're avid adoptors of ebikes, making those safe for now.