Ministers are to rush through laws that will allow companies misusing artificial intelligence to be hit with massive fines.