Only if you buy it on credit. Otherwise it is like any other consumer electronic device.
Obviously you still have to pay the ISP for internet service, but if you return their equipment you won't have to pay their rental fee. For most plans this means that owning your own modem or modem/router pays for itself within a year or 18 months.