Government sets out ‘adaptable’ regulation for AI