Apple isn't trying compete with a $3500 Sony A7R4 with a $1000 90mm macro lens. They're aiming for people who see the example "macro" photos and say "neat! I want to try that". Or the people who have already bought a Moment macro lens (or one of the other clip-on/screw-on iPhone macro lenses) and are tired of carrying it around.
edit: formatting