It isn't the chip which determines whether it's fanless. Basically every modern chip supports power capping and then the power cap is determined by how much heat the machine can dissipate.
What that really determines is multi-thread performance. Fanless laptop that can dissipate the power of one core? No problem. Fanless laptop that can dissipate the power of all the cores? For that you have to lower the clock speed quite a bit. Which is why you see AMD chips on older TSMC process nodes getting better multithread performance than Apple's fanless ones.
The cost/benefit ratio of adding a fan is extremely attractive. The alternative way of doing it is to add more cores. If you have 8 fanless cores at 2 GHz, how do you improve multi-thread performance by 50%? Option one, clock them at 3 GHz, but now you need a fan; cost of fan ~$5. Option two, get 16 cores and cap them at 1.5 GHz to fit in the same power envelope, but now you need twice as much silicon, cost of twice as many cores $500+.
The number of people who pick the second option given that trade off is so small that hardly anybody even bothers to offer it.
Apple continues to do it because a) then they get to claim "see, they can't do this?" even when hardly anybody chooses that given the option, and b) then if you actually want the higher performance one from them, you're paying hundreds of dollars extra for more cores instead of $5 extra for the same one but with a fan in it.