Here is the CPU performance comparison between Intel i7 8700 and Apple M1. M1 is a bit better but not so much. You’ll get better results with M1 Pro, although you can’t choose a Mac Mini for this. Mac Mini is also limited to 16GB RAM.
GPU is equivalent between GTX 1050 and M1, but the main difference is the Neural Engine provided with M1, which significantly improves DeepPRIME processing time. See the Google doc linked in PL4 GPU benchmarking? - #21 by jch2103. Neural Engine on Mac allows to get the equivalent of RTX 2060 on Windows for DeepPRIME in PL5.