Now, even to ignore the fact that populating a society with sapient androids is so improbable as to be impossible (though the notion of sapient machines is not), for reasons to be argued below, a sapient android would still be a machine crafted by humans, and thus its mind would be entirely customizable. It wouldn't be an animal with the impulses of an animal, nor would it be necessary to have the same idea of "rational behavior" as a human. As silly as the Three Rules are from a design standpoint, any such manner of arbitrary rules could be implanted into its mind.
Note that such widespread proliferation of androids (assumed in this context to be sapient machines with humanoid chassis) would be wholly pointless, as any given task to be done by a machine could be more easily and cheaply done with a specialized AI for the task: a robot for farming would need only to possess the ability to draw the same (or more accurate) conclusions for necessary action as a human farmer would given a set of circumstances (determining when a plant should be harvested, where seeds should be planted, if disease is present in a field), it would have no need of the other skills the hypothetical farmer might possess, such as the ability to drive a vehicle, or cook, etc. The same goes for a robot designed to mine, construct buildings, prepare food, manufacture various things, handle mass transit, etc.
Even in applications where human-like behavior is desirable, such as any position requiring frequent, often prolonged interaction with the average citizen, rather than the techs or engineers that would deal with more out-of-sight machines (such as the aforementioned manual labor robots), it need only be able to mimic human social behavior, and naturally deal with whatever its position is.
You don't need "strong AI" to do those things, as each only requires abilities relevant to its own field, and general knowledge would be a waste of time and resources. They also have no need to exist anywhere but where they work, since it would be rather silly to make them such that they need to go home and sleep, or get time off, other than such periods of time as are required to perform maintenance or refueling.