It can be done with 2 servers with Milestone's XProtect - 1 would be an inexpensive Xeon Silver or even Bronze CPU, ~ 32 GB RAM, consumer-grade SSDs for the OS and SQL DB.
Then, the second one acting as a Recorder/Recording server/ Archiver/ NVR is not going to be cheap - high-end CPU, NVidia...