BMW's i electric car brand has agreed a deal to supply so called green electricity to buyers in the UK, excluding Northern Ireland.