Ofcom has issued a warning to tech companies about their new safety responsibilities under the upcoming Online Safety Act, as the regulator published an open letter on generative AI and chatbots.