You don’t. Toughen up and take your losses. Write off your obsolete infrastructure. Make your investments. Get hammered by the financial parasites as they drive down your stock with glee and anger. Recover and survive. Alternative? Bankwupt.
There is something that the "OEMs are going to easily crush Tesla once they want to" crowd don't acknowledge, that the way many OEMs are structured a persistent and permanent 5% drop in ICE car sales per year is going to put them at a structural loss right at the same time they need to make large CAPEX expenditures to retool towards EVs.
Just look at the US automakers circa 2004-2007, persistent sales declines of 5-8% were enough to perennially put them in the red for billions. Much of the automakers have been making money now because sales have grown, but you're now starting to see them guide lower as sales stall/decline as interest rates naturally rise, the backlog of old cars the needed to be replaced during the downturn is filled, and sales normalize towards their 16.5m/year "good economy" pace.
It also looks like ICE sales peaked in 2016, this year sales are trending towards the high 16 millions, and sales continue to drop, while EV sales grow 30-50%/year... Take a look at this, and note that 2018 and after are my estimations
Year, total sales, EV sales, ICE sales
2011: 12,777k 17k 12,660k
2012: 14,493k 53k 14,440k
2013: 15,597k 98k 15,499k
2014: 16,519k 122k 16,397k
2015: 17,472k 116k 17,356k
2016: 17,611k 159k 17,452k
2017: 17,234k 199k 17,035k
-------------------------------------------------estimates below
2018: 16,800k 310k 16,490k
2019: 16,500k 500k 16,000k
2020: 16,500k 700k 15,800k
The beginning of the end of ICE cars may already be at hand... Once EV penetration gets high enough, I bet there will be a negative feedback loop that will force ICE sales (and total sales) lower as higher depreciation rates on ICE cars hurts the collateralization model for financing, forcing higher interest rates, higher down payments, and shorter financing periods (and therefor higher payments) Making new ICE purchases unaffordable for many that want one.
The introduction of autonomy is the wild card, once that happens it will be the nail in the coffin for ICE... ICE autonomous cars are totally uncompetitive with AEVs from the start. The depreciation curve of any car that is not an autonomous capable EV will be Thelma and Louise like.