UK Biobank has a smaller cohort but deeper and more reliable data.
All UK Biobank participants were tested for blood pressure, bone mineral density, grip strength, BMI, etc. The last 200,000 participants underwent detailed tests of cognitive function [1].
23andMe asks customers for health information, but self-reports are not usually as reliable as the clinician-administered tests done in UK Biobank.