How the government’s AI plan will see prisoners armed with chainsaws in a scheme that could save billions and solve prison crisis