Apple has been ordered by the EU to pay its £11 billion tax bill to the Irish government after a years-long legal battle.