Apple could see its market share in Japan fall by around 20 percent over time with "trouble brewing" in its highest margin country, UBS said in a note on Tuesday.

While investors focus on Apple's recent struggles in China, UBS suggests that a number of regulatory and competitive factors in Japan – which accounts for around 8 percent of the iPhone maker's revenue – could be a cause for concern.