Malaysian regulators have ordered Tiktok to address its failure to crack down on "grossly offensive" content about the royals.