I use real life examples that students can relate to and also problems I've ran across in my 28 years of working at Motorola. Students love their phones, so, as an expert on their construction, their marketing strategies, their testing and so on, I use those experiences to get students to think about solving problems as we ran across them.
For example, how do you get a machine to press buttons on a phone to test software functionality and robustness???
I explain what we did using data and statistics to have machines use better algorithms that would simulate humans (customers) interactions with the phones so that the machines better tested the phones.