General Motors has invested $10 million in materials science company Forge Nano to team up on electric vehicle batteries.