A gym in Melbourne's inner west was significantly damaged by arson, marking a targeted attack.