You can run Linux on an M series Mac. You don't get the full performance you would from MacOS, but then again, MacOS is Unix. It's one of the best flavors on the market. MacOS is fantastic for science applications. It's great for business. Windows is for games and for low cost terminals for network applications.Apple computers that won't run Intel emulations are practically worthless. You can't run windows Apps, can't run linux, so basically you just set and look at it. Oh, well I guess there is mail, twitter, and browsing. You can get all of that on a Raspberry Pi. Of course the Pi does not have the advertising budget that Apple has.
I doubt that M series chips will be running CUDA. That said, if you write to Apple Metal, you get fantastic performance. It's best for GPU applications that require a lot of memory.I won't be upgrading until I see what Apple's AI plans are. If they don't have one I may just build a Linux box with a Nvidia GPU. Is Apple becoming a legacy computer company?
***************
Apple will keep developing the Studio as a replacement for the next Mac Pro they have not cancelled yet. I suspect it will be an every other year thing. Even years get the Studio. Odd years get a reintroduction of the Mac Pro in a new fantastic form factor. I think they might have larger screen iMacs in the mix somewhere.