Some tech companies are taking a more holistic approach to keeping children off dangerous websites and apps.