Vてきた indicates continuation of an action or phenomenon from the past up to the present.
On the other hand, Vていく indicates continuation of an action or phenomenon from the present into the future. These are typically used with verbs which express change (e.g., 進む[proceed], 減る[decrease], 向上する[improve]).
Up to now, technology related to cameras has greatly advanced.
I believe science will continue to make progress like it has in the past.
A dog is running toward me.
Ali learned Japanese in his country, and came to Japan.