Investors are pumping money into real-estate startups that are pioneering flexible ways to rent apartments on the belief that remote working trends and new forms of housing demand will remain long after the pandemic is over.