BMW’s flagship sedan receives a big technology refresh the company hopes keeps it at the front of the pack.