Artificial intelligence helps researchers up-cycle waste carbon