Apple and Amazon are in licensing discussions with Riyadh on investing in Saudi Arabia, two sources told Reuters.