Apple announced on Thursday that it has shelved plans to build a data center in ireland over a court battle with environmentalists.