Telefonica and Liberty Global make investment pledges ahead of regulatory process.