They have the iPhone SE which they explicitly market as a budget option.
As you might recall, when the first Moto G was released in that price segment, within of a year it became the most sold phone in several countries.
That's a massive market.
It's only the US, Scandinavia and Japan where upmarket Apple devices are so popular.