In a major victory for the tech giant, the European Union's second-highest court said the tax break received by Apple did not represent an unfair advantage.