After locking horns with a local Chinese company for six years over the IPHONE trademark, Apple took a drubbing