Marriott International Inc.'s agreement to buy Starwood Hotels & Resorts Worldwide Inc. in a $12.2 billion deal, creating the world's largest lodging company, signals more consolidation to come as hotel operators find being bigger is better to compete with each other and such upstarts as Airbnb Inc.