It's illegal in the uk because here your desire for profit and your customers lack of regard for other people doesn't as yet override those other people's right to walk down the pavement unmolested.
We have cycle lanes and powered push bikes. If the output is less than 250w and can do no more 15mph then they can be used on the roads in cycle lanes without a licence or road tax.