The European Commission announced on Tuesday that it had opened an investigation into whether Luxembourg had given preferential tax treatment to the e-commerce giant Amazon. The inquiry, which will explore whether Luxembourg broke the European Union’s competition rules, follows similar investigations into the tax arrangements of Apple in Ireland and Starbucks in the Netherlands.