Remember that when the cable companies started they were competing with over-the-air TV. To convince people to switch to cable, they had to provide something valuable enough to justify the cost. Content was that thing.
The reason ISPs can charge both the customers and the content providers is because we have no other choice. Where I live I have a choice of two providers: Comcast or Verizon. My choices are: use one of these two, or have no Internet. Not much of a choice.