The online travel giant will pay the equivalent of roughly $3.9 billion to own the do-it-yourself home rental agency.