Charter Communications Inc. agreed to buy Time Warner Cable Inc. for about $55 billion in cash and stock, scooping up the cable provider after getting last-minute competition from French billionaire Patrick Drahi. Charter will pay $195.71 a share — 14 percent above Time Warner Cable’s May 22 close — with options of $100 and $115 in cash and the remainder in its own stock, according to a statement Tuesday. Bright House Networks, a smaller cable company that Charter has previously agreed to buy, will also be merged into the combined entity.