Germany's ruling coalition is on the brink of collapse, triggering potential political chaos in Europe's largest economy.