Two people were killed and 30 more people were wounded when a Palestinian man plowed an earthmover into a bus and a car in Jerusalem on Wednesday before he was shot dead, medics and police said.