Over $100bn in accounting and tax charges may await electric-car maker and CEO if they are forced to abandon 2018 deal