Britain said it would tax the revenue that online platforms such as Google, Facebook and Amazon make in the country to update a system that had not kept pace with…