There are wealthy men that really hide their wealth. They also chose social environments where crass materialism is discouraged or carefully avoid women that make displays of conspicuous consumption or who live beyond their means. Wealthy men may also really look for women that have real accomplishments of their own, even if those are not financial in nature. There are couples in which _both_ partners are wealthy and they agree from the start to keep their finances separate.
You also have men that do background checks on women they may be interested in and see what kind of pattern emerge: hard core serial “gold diggers” are pretty easily spotted. I have an old friend who retired with a net worth in the upper 5%. When he was actively dating, big thing he wanted to establish on the first date with a woman : did she have means to support herself that she was reasonably happy with? If that was not the case, there probably would not be a second date.
There are also wealthy men that very pointedly avoid anything in the way of emotional attachment: they may use prostitutes or even seek out “gold diggers”, use them for sexual gratification and cast them aside rather rapidly. Sometimes that extends beyond women that are mercenary into women that just want a little security.
I saw one case in which a rather wealthy man was getting women to risk serious prison time to help make him more wealthy. I don’t think all of those women were really interested in “money only” but they got dazzled by a guy that was really good at projecting an attractive image and acting supremely “confident”.
I’ve also seen men that set up their assets in trusts so that a woman that got involved with them would have trouble attaching any real assets.
Wealthy men can also afford good legal advice. That may mean offering some kind of formal agreement early on in a relationship that limits exposure of their assets to a palimony lawsuit or offering marriage but with an accompanying prenup that limits their exposure.
Men who are rich, good looking and socially prominent may find themselves literally overwhelmed with relationship options, at least ones based on mercenary or superficial interest. A lot of that interest may really be pretty shallow and unsatisfying. Years ago, I had a housemate who looked like he stepped out of GQ. He had stalkers. This was not something I expected when we became housemates. I hate to think what his life might have been like if fame and money were added to the equation.
I know some folks who were involved in Microsoft early on. I heard that even after Bill Gates was quite wealthy, it was still moderately easy to get a date with him. However, he would present a list of test questions that would tend to select for intelligence that would need to be completed if a woman wanted a second date. I see those actions on Gates’ part as an attempt at self-protection.