Apple lost an appeal on Tuesday as Germany's top court sided with competition regulators, opening the door for the U.S. tech giant to face stricter controls in the country.