what does a real estate investor do