Providing an AI "companion" to those who are lonely is kind of like selling drugs to addicts. Yes, it's what they are seeking, and yes, they are suffering. But what you're giving them causes them to suffer more, not less, and it's evil to profit by giving people something that is harming them even if they ask for it.
You’re right, we should kick them while they are down instead, starving them of all “companionship” (otherwise, how could we uphold our current values as a society)? We need to keep producing a regular supply of [redacted] to rally people against in order to maintain the illusion of morale.
How exactly do you think it is harming them? (not teenagers and so-on), curious of your take. Sometimes treatments are useful even if you can't get out of it. AI companions will never disappear, that's sure, so it's not like giving something temporarily and then removing it.
I don't really use any form of AI as companion, but I do use it for introspection, I wouldn't say it's harmful, I think it depends on the depth of it.