Automakers and aerospace firms are accelerating rare-earth-free motor designs as dependence on neodymium becomes a liability.