There are multiple technical challenges to in-hub motors while the benefits are comparatively marginal...
Challenges:
- Tough operating environment (shock, vibration, weather, heat from co-located friction brakes) for durability
- Space/weight constraints - ok, you fit the motor in there, now...