This is also solvable through regulation though.

For example, NYC now requires all sold e bikes to be UL certified because of too many apartment lithium battery fires.