Cancer-driven dynamics of immune cells in a microfluidic environment