Tensorflow and PyTorch have been ported to use the accelerators on the M series of chips and they could just be deploying Mac Pros that are rack mounted. So Python.
E.g. when Apple Silicon was released there were people in various FOSS projects who worked with Apple assistance for porting. Here's an example that comes to mind:
"In collaboration with the Metal engineering team at Apple, we are excited to announce support for GPU-accelerated PyTorch training on Mac."
https://pytorch.org/blog/introducing-accelerated-pytorch-tra...