A US court has held that the fictional motorcyclist Duke Caboom does not infringe trademark or publicity rights of Evel Knievel. The differences in appearance between Caboom and Knievel, as well as the purpose of Caboom in Toy Story 4, were enough to avoid liability.
Read more here.