that's spoofing at a cost. there are limits to how much a bot can lose just like humans. It will turn off. However, you could use AI to read specifications to find anything advantageous.People are going to get filthy rich tricking ai.
For example
Execute two different trades staggered by 5 min in different stocks over and over again until the AI "learns" about it, then flip the trade and crush the AI.