Melburnians across dozens of suburbs were told to take shelter as a severe thunderstorm smashed the city.