If that's the real issue, then offer two licenses. One that allows you to use the data to train an AI. Another that doesn't and says that if you do they will permaban your API access and sue your pants off.
Third-party client apps can keep doing what they do, knowing that attempting to use the data to train an AI would destroy their business forever. Companies that want to train an AI can use the other license and pay big stacks of money.