Billionaire Elon Musk has slammed the Australian government on social media over the proposed laws to ban under-16s from using social platforms.