Elon Musk has been using his social media platform X to launch an attack on the Labour government over the grooming gangs scandal.