Ukraine could agree to not join NATO, the trouble is that both sides have a vastly different understanding of what that means. Putin likely wants to keep Russian troops in the country and/or have a puppet government. Ukrainians would likely want some sort of security guarantee but not by Russia, which really doesn't leave a lot of options that aren't related to NATO.
Maybe China can step in here 
I bet China is waiting for the right moment to make a twist in this whole WAR WAR game.