Apple loses intellectual property battle