From what I've seen (I work in the field), surface level AI/ML skills don't really command a salary premium these days. So many people hopped on that train that the market is saturated.
I bet there’s a lot of weird effects in compensation. Probably dead languages with large, critical code bases pay a fortune, then there’s odd situations like ocaml that’s only used by one very successful organization.