Just because another app works similar to another app does not mean it's infringing.
Apple is not in the same position: the businesses who would sue them to try to force them to enforce their copyright are much much smaller than it (and are additionally very reliant on Apple).