The UK government is coming under fire for using AI to assess applications for social security benefits.