Dashcam footage has been released showing the moment police chased an e-bike as it drove along pavements at up to 50mph.