Keir Starmer has set a deadline of September for companies such as Apple and Google to enforce the restrictions voluntarily, or face legislation.