Apple and Samsung are in a tight race, with Xiaomi close behind