Virgin Media O2 has pledged to donate up to 12,000 smartphones to people in need in 2025 to prevent e-waste and tackle “digital exclusion”.