The point of such a decision is money. This allows to be a monopolist in the market of accessories – the user will buy either a branded cable, or from the brand that pays Apple a commission for using the connector.
Most likely, the company will not give up the connector, but will “milk” customers to the last, and then switch to wireless charging. And this direction is improving. In 2020, the company introduced the MagSafe magnetic accessory. This is a pancake attached to the body of the iPhone on a magnet.
This technology allows you to precisely place the device on the coil, to apply the accessory in a bag or with an external battery. The company also released cases and MagSafe powerbank. Accordingly, it will develop in this direction, and the wire charger is reaching the end of its life.