Nearly 40 years ago, General Motors invented the rare-earth magnet and thus laid the foundation for modern electric motors. But now the automaker is moving on to a different technology. GM recently announced a partnership with Niron Magnetics, a Minnesota-based company that claims to have developed automotive-grade permanent-magnet motors without…