It also requires the motors to be larger because motor size mostly corresponds with torque output, not power output, and there is no gear reduction.
However, it also avoids a lot of weight due to the lack of gearbox and axles, and efficiency losses in the gears. It can make sense especially in applications that require lower power output - for example virtually all solar cars use hub motors for efficiency.