Corporations bought a record share of homes last year and can make it hard for regular homebuyers to compete.