Apple Inc.'s long legal struggle over alleged anti-competitive e-book pricing took another turn on Friday as the company joined a consent agreement with Canada's Competition Bureau that will ban a controversial sales tactic for three years.