They want to hold you captive to subscription plans. If they allow CarPlay, it gives consumers more options for cellular connectivity, music, navigation, and other apps.
Also I’m sure they’d be hit with a class-action lawsuit immediately if they tried it. Manufacturers sell a lot of cars which would lead to a lot of pissed off owners.