BERLIN (Reuters) - Weak investment spending and slow trade led Germany to contract for the first time in over a year in the second quarter, data showed, suggesting Europe's largest economy is running out of steam just as the impact of the crisis in Ukraine starts to bite.