It could be used for that obviously, though do we have any evidence? Who would the AV vendors sell the secrets to, and how? (I guess it's not a surprise I wouldn't be in those meetings, but you'd think there be a whistleblower somewhere?)
The feature that automatically submits samples for further analysis has been known to catch proprietary executable code, send it to the AV manufacturer's sandbox where it was promptly executed and leaked data from inside that infrastructure (MS), or give away some complex hacking campaign before the attackers have the chance to use the tools (Kaspersky).
There was that Kaspersky incident.
TL;DR Kaspersky inadvertently acquired confidential NSA hacking tools from an NSA employee home computer with their AV product installed in it.
So Kaspersky flagged the hacking tools as a virus and sent it to Kaspersky for investigation? Nice!