I think hub motors like this are the future. Frees up space under the car for more battery. Removes the complexity of drive shafts and universal joints. Gives software full traction control. Reduces design time for new vehicles (just route a power and data cable to a wheel and you have a vehicle). Is the first step to all-electric braking. The downside is more unsprung mass. But modern motors are getting lighter and…
Modern motors get lighter in part because they can offer lower torque with a smaller rotor but compensate with higher rpm. That’s not possible for a hub motor
Pretty much all top Formula Student cars now use hub motors. Mainly for packaging reasons. Putting the motor in the unused space in the wheel means you can make a smaller chassis and have more space for wings and underbody aero.