Apple far worse
Apple just force you to create an account when you first setup an iPhone, and location track you with no way to opt out of that either.
On Android, a Google account is entirely optional, just press cancel on first setup. With no Google account, there is no Google location tracking. (Your network of course can always triangulate your location,vehich is true of every phone made in the last 25 years)