Neither motor is crap, they are designed differently.
The
Ribble has the 'light assist' Ebikemotion hub motor, hence its lighter weight.
The Giant has the 'full assist' Yamaha crank motor, hence its greater weight, and it needs a bigger capacity (heavier) battery to power it for any useful distance.
Hub or crank drive is irrelevant in this case.
There are plenty of hub motors which are 'full assist', and even more powerful but not road legal in the UK.
Crank motors dominate the full assist market, particularly EMTBs.
Woosh offer a few hub drive bikes with full assist motors, usually the Bafang BPM, known in ebike circles as 'Big Powerful Motor', because it is.
The Suntour hub drive fitted to
Halfords Carrera bikes is also pokey, having slightly more grunt than the crank drives from the likes of Bosch and Yamaha.
Most of the Wisper hub bikes use an Aikema motor, which is somewhere in between.