A Texas-based real estate investment firm with a knack for buying aging office campuses and transforming them into modern workplaces and data centers has purchased the former global headquarters of American Airlines, the nation's largest airline based on fleet size, with plans to lease it to a big office tenant.