The compound word anyway is an adverb meaning "regardless."
Any way is simply the word way modified by the word any. It means "any manner" or "any method."
Examples: We're going to do it anyway!
I do not know any way to fix it.
(any manner or any method)
See also Certain Adverbs Ending in -S.