Saudi Arabia will offer an electronic visa for foreign visitors to attend sporting events and concerts from December, the kingdom said on Tuesday, as it tries to diversify its economy and open up its society.