Make bot accounts a separate type of account so legitimate bots don’t appear as users. These can’t vote, are filtered out of post counts and users can be presented with more filtering option for them. Bot accounts are clearly marked.
Heavily rate limit any API that enables posting to a normal user account.
Make having a bot on a human user account bannable offence and enforce it strongly.