A 39-year-old man has died after being struck by a bus in Sydney's inner west.