This also enters into the idea of whether you consider FOSS a good thing or a bad thing. If you're going to leave Windows, just make a dual boot and pick a fav Linux distro. Tons of more open choices for roads to take when it comes to AI or whatever.
Apple is closed, closed and more closed and most like it because it is "pretty" or "simple," or whatever.
There is no transparency and you must go through them to breathe, as if I dont like Red Delicious apples more than green ones. Pssh! Haha 😛
You can do anything on Linux you can on Apple and it's FOSS. Without delving into anything TLDR, it doesnt hurt to try it first. Put any distro you want onto a USB drive, boot from it and try. Anything AI on Mac will be equally as great or better. I suggest starting with Ubuntu if you are new to it. It's origin is from England unlike some others which are from China and again, reread what GW43 wrote.
Anyway, that's my $0.02 donation. Use it to buy Linux and not $123456789.00 you'll need just for the Apple PSU.