Why are you guessing? the article says product placement deals in the very first sentence.
Anyway, Apple can assert trademarks or copyright infringement if they feel aggrieved by the usage of an Apple product in a movie so prodictions will usually check in with manufacturers when featuing products on screen. This has been going on for decades with all sorts of brands. For example car makers often ask you don’t crash their cars, or show them being ridden illegally, or have people using drugs in them. Fast food brands won’t let you show their food being eaten by sick or obese people. You can go ahead and do it anyway, because the legal risk is quite small, but unless you have a solid artistic reason for taking the risk, why bother?