The difference is that GM wasn’t all-in on one technology. The Hy-Wire was over a decade after GM’s first EV concept and half a decade after their first production EV. Those were held back by battery technology but they got plenty of experience to prepare for their successful current generation.
Toyota seems to be missing that second step: where’s the follow up to the Prius which forgoes the cost of the gas engine for people who don’t need extreme range?