Why do you think aiding an addiction would be helping out? Solar panels are blockade proof. Cuba's biggest problems come from over reliance on disposable imports; if Cuba had access to solar Venezuela wouldn't have been invaded and Cuba wouldn't have any real negative effects from this blockade besides the loss of tourism income.
Besides China doesn't sell oil, they do sell Solar panels and batteries. One generally gives what they have.