Typically they are equipped with either a Continental O-300 series engine from the 40s, or a more modern Lycoming O-320/360 from the 50s. They hark back to an era of magnetos and manually adjusting the fuel mixture. On the plus side they're so mechanically and electrically simple that there's very little to break. On the downside they're pretty inefficient and carburetor icing is still an issue. Also, they need leaded gas still.
I'm not kidding about the efficiency either. The Lycosaur O-360 is a 5.9L engine that produces at best 225hp. You can get 245hp out of a 2L Ecoboost in an economy car today. This isn't an apples-to-apples comparison, but it gives you a sense of how far engines have come since the 50s.
A Cessna 172 retrofitted with a modern engine could probably get more than a 50% increase in range, and also cabin heat.
I did a bit of research on this about six months ago, after watching a video of some guys who ferried a Cessna 172 via Nunavut and Greenland to Western Europe.
Google "thielert diesel engine" and you'll find a lot of good info to start from.
They don't use magnetos because they're scared of modern tech, its because magnetos self excite and don't need an external power source to start or keep running. And that modern 2 litre engine isn't going to put out max power like the aero engine will.
The aero engine is also air cooled (so no water pump or radiator) and generally simpler all around. But at the end of the day it has a hilariously large displacement for the horsepower delivered. It's not like the thing is using fancy variable timing or partial charge ignition or cylinder deactivation to save fuel either, it has to fill those cavernous cylinders with a combustible mix on every fourth stroke.
I'm far from an expert on this but my understanding is similar. I think there are several technical and market reasons for this. First is the simple cost of developing and certifying a new general aviation engine. That cost must be covered by sales in an already cost difficult market. The second part is technical...plane engines are used very differently than car engines. They are not purely steady state but they are typically used in a near steady state way. This makes improvements such as fuel injection less additive beneficial. Ad in that most of the uses of the engines are non-commercial and non-life critical and you have a logic - why would I spend tones more to gain a few points of efficiency on something I use for fun that already costs me an arm and a leg that works. Its the same reason you don't see the most fuel efficient innovations start in sports cars.
example: look at the Lycoming O-360 and the list of planes it is used in.
https://en.wikipedia.org/wiki/Continental_O-300
https://en.wikipedia.org/wiki/Lycoming_O-320
https://en.wikipedia.org/wiki/Lycoming_O-360
I'm not kidding about the efficiency either. The Lycosaur O-360 is a 5.9L engine that produces at best 225hp. You can get 245hp out of a 2L Ecoboost in an economy car today. This isn't an apples-to-apples comparison, but it gives you a sense of how far engines have come since the 50s.
A Cessna 172 retrofitted with a modern engine could probably get more than a 50% increase in range, and also cabin heat.