Electric vehicle drivers could plug their cars into the electricity grid and earn money next year following a partnership between two manufacturers.