Chancellor Olaf Scholz has dismissed Finance Minister Christian Lindner, and Germany's first three-way coalition government is now history.