the motor itself does does not cost much more than a quality drill (£100 for a motor), then you have to add the gearbox, battery, controls, sensors etc.
If you take a typical £800 woosh Karoo, the mechanical bike costs about £300, battery £300, £100 for motor, £100 for controller, LCD display...