I've a messy collection of links (many of which I need to web.archive.org fix) on https://wiki.thingsandstuff.org/Open_social#DataPortability that you might be interested in.
Basically, companies thought it more profitable to not put any effort into letting users escape their service (or keep chat federated, etc.)
Various threads are still around though.