On Powered Up hubs like SPIKE Prime, all ports are the same and can be used with motors or sensors. That means you can use 6 motors and no sensors if you need to on SPIKE Prime.
On EV3, ports A-D are for motors only and ports 1-4 are for sensors only. So EV3 is limited to 4 motors (NXT is similar but limited to 3 motors).
EV3 and SPIKE software and motor/sensor hardware are not compatible, so if you invest in SPIKE Prime, you will need to make a new program and adjust your build since the motors don't have the same form factor.
Another alternative could be to daisy-chain two EV3s. This would allow up to 8 motors since each EV3 can have up to 4 motors.