The attack on a busy road in the city centre left at least seven people dead and more than 10 others injured, police said.