Toyota is a Japanese company, a country that will burn any thing to keep lights on. So, when people question Toyota's commitment to Electric, I do not take them seriously. Toyota might have sunk-cost going with Hydrogen, but sooner or later they will build electric vehicles. My take is, the complexity of Li-based battery supply chain coupled with their views on Total Carbon Footprint of Li-based cars made them wait for better options.
This is totally backwards. We will have to switch to hydrogen cars because batteries are not sustainable. It is nearly everyone else that picked wrong and will eventually have to pay the price.