Tesla rewrote their software to use newer chips as soon as the crisis hit.
Toyota could have done that a long time ago (they know a thing or two about supply chain, don't they?) but they prefer to keep the shortage as an excuse for their poor sales performance.
Considering the hackers news post about Toyota firmware having 10,000 global variables, I'm not so sure they can rewrite their software. https://news.ycombinator.com/item?id=9643551
Toyota could have done that a long time ago (they know a thing or two about supply chain, don't they?) but they prefer to keep the shortage as an excuse for their poor sales performance.