Where the belief is correct
Conventional investment-property financing generally wants title in a natural person. Investors who ask a retail bank about buying in an entity are told no, and that answer is accurate about that channel.
It is not accurate about business-purpose lending, where entity-titled property is the normal case rather than the exception. A DSCR loan is routinely written to an LLC, and lenders in that space expect it.