Yes. The infotainment code is rewritten every time. By different devs. Because that is how automotive industry works. This time BMW wants infotainment and a third party wins the contract (because it's the cheapest usually). For the next BMW car another company wins the contract. Everything is rebuilt from scratch.
The components that make up the infotainment a lot of times are actually developed by different companies. So navigation is one company, media player another etc.
Also, the deadlines usually make no sense and there is zero time for any optimization work. It's not the devs, it's the way the automotive industry works outsourcing every little button on the dash to another (cheapest) company. They just don't understand that that mentality doesn't work with software. Most of them are mechanical engineers not software people.