Ok I figured it out:
strapi.entityService.findOne(
"api::example.example",
id,
{ populate: { component: { populate: { relation: true } } } }
);
I didn’t realize I could access the populate field again for the component. Before I found the answer, I tried:
{ populate: { component: { relation: true } } }
which didn’t work.