Britain cannot rely on tech giants to police their own AI systems, the government has warned, as ministers prepare new measures to protect businesses and national security from increasingly powerful artificial intelligence.