Xiaomi and Samsung mocked Apple for ditching the charger – now they’re doing the same