Electric Mini borrows hardware from Nissan Leaf