Yup.
And in a few years ICE will still be the vast majority of vehicles anyway- and they can reevaluate where battery/EV tech is and see what investments might make sense for them.
and it's not as if they're doing NOTHING....
High-power all-solid-state batteries using sulfide superionic conductors | Nature Energy
that's a paper from Toyota scientists researching solid state LiIon batteries for example as a superior alternative to what's in use today.
Their thinking seems to be why drop billions developing todays EV battery tech when there'll almost certainly be one or more generations better stuff available for them to invest in by the time EVs become enough of the market they have to get seriously into it.
This obviously doesn't work for Tesla since they don't
have a dominant legacy ICE business to make large near/medium profits on to fund such a thing in a few years- but it might work for Toyota.
VW is going heavy EV earlier in contrast despite having a legacy business- but of course they had the whole diesel thing they had to do something to get past too.