I don't think the suggestion here is to throw out all the ICE cars currently in production — just to focus all new development efforts on EVs. Everyone would still be able to buy ICE cars if they need them, but the suggestion is for EVs to be the default and ICE to be the "oh, you don't have a garage? We can accommodate that" option.
The article says that any new ICE designs that have been started should be completed. Given that's a 7 year cycle, that means that manufacturers who follow the advice will be introducing new combustion vehicles for the rest of the decade.
Those designs can then be sold for at least another decade. I hope by 2040 there is little demand for combustion vehicles...
Even then CA and a lot of other places said they’re going to stop allowing sales of new gas cars by 2035 and considering the auto industry could lobby that bill out of existence if they really wanted to that means the major auto players are planning on phasing out EV sales by 2035.