The cuts come amid a heated AI race