The New York City mayor plans on opting out of the public funding program in 2029 after bringing in big contributions.