You could probably achieve that with any modern e-bike and some coding.
If you can build a motor + battery + computer that only adds 2-3lbs to the weight of the bike and lasts more than a few minutes, you might have a small chance of selling it, without the 'training' thing, which I honestly doubt anyone would care for.