Homework ‘worse than useless’ as more children turn to artificial intelligence to do assignments