No matter how they treat users, people won't leave due to network effect.
I don't believe the problem is solvable with more tech or free market. I think the only way forward is political, with laws and regulations.
Long ago railroad networks, water pipes networks, and landline phone networks were private companies free to do whatever they please with the property they own.
It's time to add social networks to the list.