As with most high tech, these problems were worked out by military applications at taxpayer expense. Better Place (the Israeli predecessor to this) based their swap stations on the tech used to load bombs onto jets. No doubt Tesla is standing on those shoulders.