IMHO, Toyota did an awesome job of taking the 2004 Prius funny wedge compact eco-nerd-mobile look (which might have been exactly what it needed at the time), and making it look sleek and modern and powerful.
I'm imagining a designer looking at the earlier windshield slant, and knowing they could work with that, and retain references to the iconic earlier design.
Toyota sells the most cars of any auto maker. What ground was lost?
It's clear Toyota has correctly assessed the market. They got it right.
As time goes on, BEVs will be a bigger percentage of the cars they sell. In the meantime they'll keep selling the cars they've got, including their current BEVs.
Given the initial success of the Prius, every Tesla you see on the road should've been a Toyota. (If not something from GM, who has even more experience in blowing an early lead in electrification.)
See also: Amazon's chances in an alternative timeline where Sears wasn't run by morons.