In a major blow to the billionaire, a lawsuit brought by Elon Musk’s X against a group of major advertisers has been dismissed in court.