China on Wednesday offered to help Venezuela bring its collapsing power grid back online as President Nicolas Maduro sought to stave off rising public anger that is bolstering his US-backed rival Juan Guaido.