Apple loses US patent suit