The difference is that Camellia oleifera is extracted from fruit and Melaleuca is extracted from leaves, but Melaleuca can grow very tall. Tea tree oil commonly used in our cosmetics is extracted from Melaleuca.
Attached below are pictures of Camellia oleifera and Melaleuca for your identification.
Note: The pictures are all quoted from the Internet.
Figure 1 and Figure 2 show Melaleuca Melaleuca, and Figures 3 and 4 show Camellia oleifera.