New laws could be introduced if firms don’t help tackle online sexual abuse, the home secretary says.