Marks & Spencer says extra tax for online shops will mean lower investment in High Street stores.