They actually have a fiduciary responsibility to their shareholders to minimize their tax burden.
Exactly. Every business's job is to make money.
edit: Oh and let's not forget that all of those BK franchises are still owned by Americans. AND Tim Hortons franchises are also owned by Americans (there's Timmy Ho's in the US).