Three people were killed when an ultralight aircraft crashed into an apartment building in western Germany.