Google plans to start testing artificial intelligence to determine whether users are the appropriate age to use its products.