Since 2019, McDonald’s made three major investments in technology companies, and before the end of 2021, it has already sold two. Were the decisions wrong?