Britain has voted to break out of the European Union, national media declares, striking a thunderous blow against the bloc and spreading alarm through markets as sterling plummeted to a 31-year low against the dollar.