Three men have been charged after nearly a tonne of cocaine was found in a container of bananas.