DOCSIS is capable of 3gbps over coaxial cable and there is more room to improve, so fiber doesn't have a significant advantage in terms of possible bandwidth. Because DOCSIS was designed to operate on the cable network, which was designed to reach a very large number of homes, the architecture of the system tends to be more cost-effective than fiber. The fiber equivalent of a cable-like topology, and what is used by fiber ISPs, is PON, but PON is actually relatively limited in terms of both range and number of service points compared to DOCSIS on cable. A typical PON installation requires more field equipment to serve the same customers at the same rate compared to DOCSIS.

This is made worse by the issue of power distribution: the field equipment for DOCSIS consists of distribution amplifiers which are powered over the coaxial cable itself, allowing the battery-backed power supplies to be placed at convenient locations. There's not really any equivalent of this for PON, so extending PON networks beyond a single loop (depends a lot but typically a few KM and <100 customers) requires an OLT which is relatively large and needs separate power provisioned. You can put OLTs in serving area cabinets but this is costlier compared to cable equipment.

Another major factor is the customer premises: most homes already have coaxial cable distribution installed that is either compatible with DOCSIS 3 or can be made compatible with DOCSIS 3 by replacing the distribution amplifier or passive tap, which is a fairly cheap and fast operation. Installing PON to customers requires getting fiber to their house, and then either an outdoor ONT (troublesome from a maintenance perspective) and ethernet into the building or fiber into the building. The equipment here doesn't necessarily cost much but the labor of running new lines into customer homes is substantial and makes signing up new customers much higher-friction.

Most of the time when a cable provider upgrades to introduce DOCSIS 3 for digital voice and internet they aren't really replacing any cable anyway, just distribution amplifiers and nodes. The cost of this work is significantly lower than running new cable and it doesn't require new pole attachment agreements etc.

In general, in urban environments with existing cable TV plant there are few upsides to fiber. Urban fiber in existing areas is usually only cost effective when it's a new ISP competing with the cable company.

Finally, most DOCSIS networks are in a process of transitioning from CMTS (cable modem termination system, the upstream end) in the cable headend to a compact serving area CMTS at each amplifier point. This is called "Node+0" architecture, meaning there is a fiber node and then zero distribution amplifiers before the customer. One of the nice things about the cable "HFC" or hybrid fiber/coaxial network is that it is relatively easy to make this transition progressively as you sign up additional customers, since CMTS nodes have been made very small. PON is less forgiving this way and requires more up-front capacity planning, especially since network expansion means the permitting process on relatively large curb cabinets or enclosures.