That seems like a poor argument for why it should be illegal, since facebook ads are not limited to housing and employment.
The analogous argument for knives would be "In the context of torture knives don't have any legal uses. (So knife sellers need to put safe guards in preventing their knives from torturing people)".
The analogous argument for knives would be "In the context of torture knives don't have any legal uses. (So knife sellers need to put safe guards in preventing their knives from torturing people)".