Honestly if Apple had embraced Linux, the Apple Silicon CPUs would have been amazing for all sorts of server, scientific, and AI/LLM work. Too bad they are clamping down on the walled garden to focus on consumer toys instead.
You can already do this work on M1/M2 using Asahi. A compute server doesn't need fully working peripherals and external displays.