I believe that whoever told you that was mistaken. There are investor visa's but they require establishing a business of significant value that employs a certain number of people full time. There is no way to obtain a green card simply by purchasing property.