Earlier quoted context omitted.
They're a car company committed to keeping the internal combustion engine. They are market leaders in hybrid cars, but have been surpassed in all electric. So they're not a fossil fuel company but their interests are aligned.
Their various significant investments don't strike me as being committed to keeping the internal combustion engine. Rather, they're simply evolving and the internal combustion engine influences their evolution. But I see no evidence that they're committed to it because they like it in particular. It's just what they've been good at already, and hydrogen interfacing with it may make sense.
https://www.autoblog.com/2021/09/21/toyota-toyoda-questions-...
https://www.msn.com/en-us/autos/news/how-the-world-s-most-va...
https://cleantechnica.com/2021/11/15/toyotas-team-japan-aims...
https://www.hotcars.com/why-toyota-is-investing-383-million-...