This mostly changed due to 'corporate personhood', the idea that corporations should have the same rights as people.
This article goes in to a lot of how this has lead to corporate abuses of power:
https://repository.uchastings.edu/hastings_law_journal/vol41...
This one's an easier read, but basically an editorial on the one above:
https://reclaimdemocracy.org/corporate-accountability-histor...
You have a right to free speech. You don’t have a right to force everyone to listen. What a fucking awful world that would be.
What would the side effects be of not being able to remove people from your store because they're behaving in a way you don't like? What if YouTube could not, legally, remove content that was "abusive" or "hateful"?
(Again, not saying I think this is how things should be, just trying to entertain the idea a bit.)