Two people have been killed in the southern German city of Munich after locals reported shots being fired at a construction site on Thursday morning, a police spokesman said.