Britain's competition regulator has launched an investigation into the power wielded by Facebook and Google in digital advertising markets, including the ownership of data.