General Motors will allow its electric vehicles to use Tesla charging stations across the country.