That person is confusing different things.
Apple is making it easier to use SMS 2FA in iOS 12 (automated copy paste)
However Apple itself doesn’t use SMS for 2FA.
As for Apple they had your phone number since the launch of the iPhone (!). Never needed 2FA to know it.
And no, Apple isn’t selling your phone number.