Going strictly by lore I don't believe there were actual Ai wars... All the major factions basically started research and came to the realization (rather quickly) that Ai was more Terminator than R2-D2 so they stopped all research and dropped it.
Now. That doesn't mean that some more unscrupulous independent splinter groups or independent researches didn't get the memo and forged on with fully functional Ai constructs with obvious negative consequences and that we are now starting to see the effects of it.
There were billions of androids living among humans. The had the same basic rights as humans in the federation.
Sirius corporation have had several Android CEOs. Some of them didn't work well ;-)