Investors snap up growing share of US homes as traditional buyers struggle to afford one