Ammonia has sustained humanity since the early 20th century, but its production leaves a huge carbon footprint. Now researchers have found a way to make it 100 per cent renewable.