Horses can't revolt.
Every rifle takes one person to wield it; one more person that might decide to turn that rifle against the ruling class. A drone swarm is worth ten, a hundred, a thousand, ten thousand people with rifles, capable of being controlled by one person issuing high-level kill orders. The tyrants of the future won't need to risk arming "the proletariat".